From a10447eae2fd68755b05c6c1e7d869c22dc8db68 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Wed, 1 Jul 2020 20:11:15 +0100 Subject: [PATCH] JitArm64_Paired: Fix ps_msub when d == b --- Source/Core/Core/PowerPC/JitArm64/JitArm64_Paired.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/JitArm64/JitArm64_Paired.cpp b/Source/Core/Core/PowerPC/JitArm64/JitArm64_Paired.cpp index 6dae65724a..2c5fe6c9f3 100644 --- a/Source/Core/Core/PowerPC/JitArm64/JitArm64_Paired.cpp +++ b/Source/Core/Core/PowerPC/JitArm64/JitArm64_Paired.cpp @@ -162,7 +162,7 @@ void JitArm64::ps_maddXX(UGeckoInstruction inst) { // d = -(-a * c + b) // rounding is incorrect if the rounding mode is +/- infinity - m_float_emit.FMLS(size, VD, VB, VC); + m_float_emit.FMLS(size, VD, VA, VC); m_float_emit.FNEG(size, VD, VD); } else if (d != a && d != c)