From abaa8fc24d1595283dd1005a95fb856def018779 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sat, 27 Feb 2016 19:24:57 -0600 Subject: [PATCH] [AArch64] Fix fcmp. Fixes Luigi's head vanishing. Was due to a mishandling of nans. Confirmed fixed by hardware test. --- Source/Core/Core/PowerPC/JitArm64/JitArm64_FloatingPoint.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Core/Core/PowerPC/JitArm64/JitArm64_FloatingPoint.cpp b/Source/Core/Core/PowerPC/JitArm64/JitArm64_FloatingPoint.cpp index d38a959a8f..e112b069be 100644 --- a/Source/Core/Core/PowerPC/JitArm64/JitArm64_FloatingPoint.cpp +++ b/Source/Core/Core/PowerPC/JitArm64/JitArm64_FloatingPoint.cpp @@ -244,8 +244,7 @@ void JitArm64::fcmpX(UGeckoInstruction inst) SetJumpTarget(pNaN); - ORR(XA, XA, 64 - 61, 0, true); - ORR(XA, XA, 0, 0, true); + MOVI2R(XA, PPCCRToInternal(CR_SO)); if (a != b) {