diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-01 22:12:06 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-01 22:12:06 +0000 |
commit | 7fdf924fdd970a78862e3b9367c91e27a9fbf648 (patch) | |
tree | 2ccde651c6617c4ca5c1a62e50f7aeca73c3d01b /target-sh4/op_helper.c | |
parent | cc4ba6a9826d94bb46f13856927f7883fd6b9d51 (diff) |
SH4: final conversion to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5125 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sh4/op_helper.c')
-rw-r--r-- | target-sh4/op_helper.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target-sh4/op_helper.c b/target-sh4/op_helper.c index 5d9c4146af..48a170f79c 100644 --- a/target-sh4/op_helper.c +++ b/target-sh4/op_helper.c @@ -489,6 +489,12 @@ uint64_t helper_fmul_DT(uint64_t t0, uint64_t t1) return *(uint64_t*)(&ret); } +uint32_t helper_fneg_T(uint32_t t0) +{ + float32 ret = float32_chs(*(float32*)&t0); + return *(uint32_t*)(&ret); +} + uint32_t helper_fsqrt_FT(uint32_t t0) { float32 ret = float32_sqrt(*(float32*)&t0, &env->fp_status); |