mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 15:55:31 +01:00
IR_X86: Use MConst for constants
This commit is contained in:
parent
3dccc369d3
commit
9058ccea3f
@ -1753,7 +1753,7 @@ static void DoWriteCode(IRBuilder* ibuild, JitIL* Jit, u32 exitAddress)
|
|||||||
|
|
||||||
X64Reg reg = fregURegWithMov(RI, I);
|
X64Reg reg = fregURegWithMov(RI, I);
|
||||||
alignas(16) static const u32 ssSignBits[4] = {0x80000000};
|
alignas(16) static const u32 ssSignBits[4] = {0x80000000};
|
||||||
Jit->PXOR(reg, M(ssSignBits));
|
Jit->PXOR(reg, Jit->MConst(ssSignBits));
|
||||||
RI.fregs[reg] = I;
|
RI.fregs[reg] = I;
|
||||||
fregNormalRegClear(RI, I);
|
fregNormalRegClear(RI, I);
|
||||||
break;
|
break;
|
||||||
@ -1765,7 +1765,7 @@ static void DoWriteCode(IRBuilder* ibuild, JitIL* Jit, u32 exitAddress)
|
|||||||
|
|
||||||
X64Reg reg = fregURegWithMov(RI, I);
|
X64Reg reg = fregURegWithMov(RI, I);
|
||||||
alignas(16) static const u64 sdSignBits[2] = {0x8000000000000000ULL};
|
alignas(16) static const u64 sdSignBits[2] = {0x8000000000000000ULL};
|
||||||
Jit->PXOR(reg, M(sdSignBits));
|
Jit->PXOR(reg, Jit->MConst(sdSignBits));
|
||||||
RI.fregs[reg] = I;
|
RI.fregs[reg] = I;
|
||||||
fregNormalRegClear(RI, I);
|
fregNormalRegClear(RI, I);
|
||||||
break;
|
break;
|
||||||
@ -1777,7 +1777,7 @@ static void DoWriteCode(IRBuilder* ibuild, JitIL* Jit, u32 exitAddress)
|
|||||||
|
|
||||||
X64Reg reg = fregURegWithMov(RI, I);
|
X64Reg reg = fregURegWithMov(RI, I);
|
||||||
alignas(16) static const u32 psSignBits[4] = {0x80000000, 0x80000000};
|
alignas(16) static const u32 psSignBits[4] = {0x80000000, 0x80000000};
|
||||||
Jit->PXOR(reg, M(psSignBits));
|
Jit->PXOR(reg, Jit->MConst(psSignBits));
|
||||||
RI.fregs[reg] = I;
|
RI.fregs[reg] = I;
|
||||||
fregNormalRegClear(RI, I);
|
fregNormalRegClear(RI, I);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user