diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-01 22:11:56 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-01 22:11:56 +0000 |
commit | cc4ba6a9826d94bb46f13856927f7883fd6b9d51 (patch) | |
tree | a09107efdd29eed05e38f060f93857497765cb96 /target-sh4/helper.h | |
parent | 105a1f04b5c9250c41e61ebb00cd2d254eb766ab (diff) | |
download | hqemu-cc4ba6a9826d94bb46f13856927f7883fd6b9d51.zip hqemu-cc4ba6a9826d94bb46f13856927f7883fd6b9d51.tar.gz |
SH4: convert floating-point ops to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5124 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sh4/helper.h')
-rw-r--r-- | target-sh4/helper.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/target-sh4/helper.h b/target-sh4/helper.h index c9465a7..19f5981 100644 --- a/target-sh4/helper.h +++ b/target-sh4/helper.h @@ -19,3 +19,27 @@ DEF_HELPER(void, helper_macl, (uint32_t, uint32_t)) DEF_HELPER(void, helper_macw, (uint32_t, uint32_t)) DEF_HELPER(void, helper_ld_fpscr, (uint32_t)) + +DEF_HELPER(uint32_t, helper_fabs_FT, (uint32_t)) +DEF_HELPER(uint64_t, helper_fabs_DT, (uint64_t)) +DEF_HELPER(uint32_t, helper_fadd_FT, (uint32_t, uint32_t)) +DEF_HELPER(uint64_t, helper_fadd_DT, (uint64_t, uint64_t)) +DEF_HELPER(uint64_t, helper_fcnvsd_FT_DT, (uint32_t)) +DEF_HELPER(uint32_t, helper_fcnvds_DT_FT, (uint64_t)) + +DEF_HELPER(void, helper_fcmp_eq_FT, (uint32_t, uint32_t)) +DEF_HELPER(void, helper_fcmp_eq_DT, (uint64_t, uint64_t)) +DEF_HELPER(void, helper_fcmp_gt_FT, (uint32_t, uint32_t)) +DEF_HELPER(void, helper_fcmp_gt_DT, (uint64_t, uint64_t)) +DEF_HELPER(uint32_t, helper_fdiv_FT, (uint32_t, uint32_t)) +DEF_HELPER(uint64_t, helper_fdiv_DT, (uint64_t, uint64_t)) +DEF_HELPER(uint32_t, helper_float_FT, (uint32_t)) +DEF_HELPER(uint64_t, helper_float_DT, (uint32_t)) +DEF_HELPER(uint32_t, helper_fmul_FT, (uint32_t, uint32_t)) +DEF_HELPER(uint64_t, helper_fmul_DT, (uint64_t, uint64_t)) +DEF_HELPER(uint32_t, helper_fsub_FT, (uint32_t, uint32_t)) +DEF_HELPER(uint64_t, helper_fsub_DT, (uint64_t, uint64_t)) +DEF_HELPER(uint32_t, helper_fsqrt_FT, (uint32_t)) +DEF_HELPER(uint64_t, helper_fsqrt_DT, (uint64_t)) +DEF_HELPER(uint32_t, helper_ftrc_FT, (uint32_t)) +DEF_HELPER(uint32_t, helper_ftrc_DT, (uint64_t)) |