From: j_mayer Date: Sat, 27 Oct 2007 23:34:30 +0000 (+0000) Subject: PowerPC floating-point helper typo. X-Git-Tag: xen-3.3.0-rc1~899 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=5bda28432fc8d269821f8c05e062f7c847f20cac;p=qemu-xen-4.1-testing.git PowerPC floating-point helper typo. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3460 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c index 363d84cdb..346b29b7e 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 {