From be8fec624435820d003b900ccd81f07fab860e2b Mon Sep 17 00:00:00 2001 From: MerryMage Date: Mon, 15 Oct 2018 21:02:07 +0100 Subject: [PATCH] Jit_Paired: ps_mr --- Source/Core/Core/PowerPC/Jit64/Jit_Paired.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/PowerPC/Jit64/Jit_Paired.cpp b/Source/Core/Core/PowerPC/Jit64/Jit_Paired.cpp index df989e05fa..0eef5b2df6 100644 --- a/Source/Core/Core/PowerPC/Jit64/Jit_Paired.cpp +++ b/Source/Core/Core/PowerPC/Jit64/Jit_Paired.cpp @@ -22,8 +22,10 @@ void Jit64::ps_mr(UGeckoInstruction inst) if (d == b) return; - fpr.BindToRegister(d, false); - MOVAPD(fpr.RX(d), fpr.R(b)); + RCOpArg Rb = fpr.Use(b, RCMode::Read); + RCX64Reg Rd = fpr.Bind(d, RCMode::Write); + RegCache::Realize(Rb, Rd); + MOVAPD(Rd, Rb); } void Jit64::ps_sum(UGeckoInstruction inst)