From 9058ccea3fabeac1d558ad5783f50dc724a3163b Mon Sep 17 00:00:00 2001 From: MerryMage Date: Sun, 19 Mar 2017 13:49:41 +0000 Subject: [PATCH] IR_X86: Use MConst for constants --- Source/Core/Core/PowerPC/Jit64IL/IR_X86.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Core/Core/PowerPC/Jit64IL/IR_X86.cpp b/Source/Core/Core/PowerPC/Jit64IL/IR_X86.cpp index 97bb83fa9e..b24d16c95a 100644 --- a/Source/Core/Core/PowerPC/Jit64IL/IR_X86.cpp +++ b/Source/Core/Core/PowerPC/Jit64IL/IR_X86.cpp @@ -1753,7 +1753,7 @@ static void DoWriteCode(IRBuilder* ibuild, JitIL* Jit, u32 exitAddress) X64Reg reg = fregURegWithMov(RI, I); alignas(16) static const u32 ssSignBits[4] = {0x80000000}; - Jit->PXOR(reg, M(ssSignBits)); + Jit->PXOR(reg, Jit->MConst(ssSignBits)); RI.fregs[reg] = I; fregNormalRegClear(RI, I); break; @@ -1765,7 +1765,7 @@ static void DoWriteCode(IRBuilder* ibuild, JitIL* Jit, u32 exitAddress) X64Reg reg = fregURegWithMov(RI, I); alignas(16) static const u64 sdSignBits[2] = {0x8000000000000000ULL}; - Jit->PXOR(reg, M(sdSignBits)); + Jit->PXOR(reg, Jit->MConst(sdSignBits)); RI.fregs[reg] = I; fregNormalRegClear(RI, I); break; @@ -1777,7 +1777,7 @@ static void DoWriteCode(IRBuilder* ibuild, JitIL* Jit, u32 exitAddress) X64Reg reg = fregURegWithMov(RI, I); alignas(16) static const u32 psSignBits[4] = {0x80000000, 0x80000000}; - Jit->PXOR(reg, M(psSignBits)); + Jit->PXOR(reg, Jit->MConst(psSignBits)); RI.fregs[reg] = I; fregNormalRegClear(RI, I); break;