summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-27 23:34:30 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-27 23:34:30 +0000
commit5bda28432fc8d269821f8c05e062f7c847f20cac (patch)
treec853e93675368e426ff23f48dcc7e82480f4090d
parent4f8eb6cfa27eed4a44f4beb259dd3d9081146dba (diff)
downloadfocaccia-qemu-5bda28432fc8d269821f8c05e062f7c847f20cac.tar.gz
focaccia-qemu-5bda28432fc8d269821f8c05e062f7c847f20cac.zip
PowerPC floating-point helper typo.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3460 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--target-ppc/op_helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c
index 363d84cdbc..346b29b7eb 100644
--- a/target-ppc/op_helper.c
+++ b/target-ppc/op_helper.c
@@ -974,8 +974,8 @@ void do_fmul (void)
                  float64_is_signaling_nan(FT1))) {
         /* sNaN multiplication */
         fload_invalid_op_excp(POWERPC_EXCP_FP_VXSNAN);
-    } else if (unlikely((ifinf(FT0) && iszero(FT1)) ||
-                        (inzero(FT0) && isinfinity(FT1)))) {
+    } else if (unlikely((isinfinity(FT0) && iszero(FT1)) ||
+                        (iszero(FT0) && isinfinity(FT1)))) {
         /* Multiplication of zero by infinity */
         fload_invalid_op_excp(POWERPC_EXCP_FP_VXIMZ);
     } else {