PowerPC floating-point helper typo.
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 27 Oct 2007 23:34:30 +0000 (23:34 +0000)
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 27 Oct 2007 23:34:30 +0000 (23:34 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3460 c046a42c-6fe2-441c-8c8c-71466251a162

target-ppc/op_helper.c

index 363d84cdbc53340ad4a5c170ca28bebb7e81202d..346b29b7eb3fd1240ab5a27bae6e539ec6f6637a 100644 (file)
@@ -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 {