diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2012-09-19 04:23:58 +0400 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-09-22 17:59:13 +0000 |
commit | 4e273869671d78660cd709183d3c5dec3a17de79 (patch) | |
tree | 6a6fa9403ecb946626943f9c8e8fe67f52872353 /target-xtensa/helper.h | |
parent | b7ee8c6a32987e5039f0a2c2976fad556965727d (diff) |
target-xtensa: implement FP1 group
These are comparison and conditional move opcodes.
See ISA, 4.3.10 for more details.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-xtensa/helper.h')
-rw-r--r-- | target-xtensa/helper.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/target-xtensa/helper.h b/target-xtensa/helper.h index 9557347f1b..4cc0088c36 100644 --- a/target-xtensa/helper.h +++ b/target-xtensa/helper.h @@ -49,4 +49,12 @@ DEF_HELPER_FLAGS_3(ftoui, TCG_CALL_CONST | TCG_CALL_PURE, i32, f32, i32, i32) DEF_HELPER_3(itof, f32, env, i32, i32) DEF_HELPER_3(uitof, f32, env, i32, i32) +DEF_HELPER_4(un_s, void, env, i32, f32, f32) +DEF_HELPER_4(oeq_s, void, env, i32, f32, f32) +DEF_HELPER_4(ueq_s, void, env, i32, f32, f32) +DEF_HELPER_4(olt_s, void, env, i32, f32, f32) +DEF_HELPER_4(ult_s, void, env, i32, f32, f32) +DEF_HELPER_4(ole_s, void, env, i32, f32, f32) +DEF_HELPER_4(ule_s, void, env, i32, f32, f32) + #include "def-helper.h" |