aboutsummaryrefslogtreecommitdiff
path: root/target-mips/op_helper.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-01-08 18:11:08 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-01-08 18:11:08 +0000
commit6b5435d77c06aa66511c148807f9a3e7cacaedc4 (patch)
tree583889746ffedda48c24dec716d04a61c6793e13 /target-mips/op_helper.c
parent7bba1ee81bb1720590aceeed944929f607924c9e (diff)
Fix broken absoluteness check for cabs.d.*.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3900 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/op_helper.c')
-rw-r--r--target-mips/op_helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c
index 93ba79c7e4..07353567de 100644
--- a/target-mips/op_helper.c
+++ b/target-mips/op_helper.c
@@ -1250,8 +1250,8 @@ void do_cmp_d_ ## op (long cc) \
void do_cmpabs_d_ ## op (long cc) \
{ \
int c; \
- FDT0 = float64_chs(FDT0); \
- FDT1 = float64_chs(FDT1); \
+ FDT0 = float64_abs(FDT0); \
+ FDT1 = float64_abs(FDT1); \
c = cond; \
update_fcr31(); \
if (c) \