From 5bda28432fc8d269821f8c05e062f7c847f20cac Mon Sep 17 00:00:00 2001 From: j_mayer Date: Sat, 27 Oct 2007 23:34:30 +0000 Subject: [PATCH] PowerPC floating-point helper typo. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3460 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-ppc/op_helper.c | 4 ++-- 1 file 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 { -- 2.34.1