Commit 6b5435d77c06aa66511c148807f9a3e7cacaedc4
1 parent
7bba1ee8
Fix broken absoluteness check for cabs.d.*.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3900 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
target-mips/op_helper.c
@@ -1250,8 +1250,8 @@ void do_cmp_d_ ## op (long cc) \ | @@ -1250,8 +1250,8 @@ void do_cmp_d_ ## op (long cc) \ | ||
1250 | void do_cmpabs_d_ ## op (long cc) \ | 1250 | void do_cmpabs_d_ ## op (long cc) \ |
1251 | { \ | 1251 | { \ |
1252 | int c; \ | 1252 | int c; \ |
1253 | - FDT0 = float64_chs(FDT0); \ | ||
1254 | - FDT1 = float64_chs(FDT1); \ | 1253 | + FDT0 = float64_abs(FDT0); \ |
1254 | + FDT1 = float64_abs(FDT1); \ | ||
1255 | c = cond; \ | 1255 | c = cond; \ |
1256 | update_fcr31(); \ | 1256 | update_fcr31(); \ |
1257 | if (c) \ | 1257 | if (c) \ |