mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 06:29:00 +01:00
Jit64[IL]: remove code leftover from x86-32
This commit is contained in:
parent
e684e902ef
commit
f351ec64db
@ -254,14 +254,8 @@ void Jit64::dcbz(UGeckoInstruction inst)
|
||||
ADD(32, R(EAX), gpr.R(inst.RA));
|
||||
AND(32, R(EAX), Imm32(~31));
|
||||
PXOR(XMM0, R(XMM0));
|
||||
#if _M_X86_64
|
||||
MOVAPS(MComplex(EBX, EAX, SCALE_1, 0), XMM0);
|
||||
MOVAPS(MComplex(EBX, EAX, SCALE_1, 16), XMM0);
|
||||
#else
|
||||
AND(32, R(EAX), Imm32(Memory::MEMVIEW32_MASK));
|
||||
MOVAPS(MDisp(EAX, (u32)Memory::base), XMM0);
|
||||
MOVAPS(MDisp(EAX, (u32)Memory::base + 16), XMM0);
|
||||
#endif
|
||||
}
|
||||
|
||||
void Jit64::stX(UGeckoInstruction inst)
|
||||
@ -343,13 +337,7 @@ void Jit64::stX(UGeckoInstruction inst)
|
||||
gpr.FlushLockX(ABI_PARAM1);
|
||||
MOV(32, R(ABI_PARAM1), gpr.R(a));
|
||||
MOV(32, R(EAX), gpr.R(s));
|
||||
#if _M_X86_64
|
||||
SwapAndStore(accessSize, MComplex(RBX, ABI_PARAM1, SCALE_1, (u32)offset), EAX);
|
||||
#else
|
||||
BSWAP(32, EAX);
|
||||
AND(32, R(ABI_PARAM1), Imm32(Memory::MEMVIEW32_MASK));
|
||||
MOV(accessSize, MDisp(ABI_PARAM1, (u32)Memory::base + (u32)offset), R(EAX));
|
||||
#endif
|
||||
if (update && offset)
|
||||
{
|
||||
gpr.Lock(a);
|
||||
@ -447,7 +435,6 @@ void Jit64::lmw(UGeckoInstruction inst)
|
||||
INSTRUCTION_START
|
||||
JITDISABLE(bJITLoadStoreOff)
|
||||
|
||||
#if _M_X86_64
|
||||
gpr.FlushLockX(ECX);
|
||||
MOV(32, R(EAX), Imm32((u32)(s32)inst.SIMM_16));
|
||||
if (inst.RA)
|
||||
@ -459,10 +446,6 @@ void Jit64::lmw(UGeckoInstruction inst)
|
||||
MOV(32, gpr.R(i), R(ECX));
|
||||
}
|
||||
gpr.UnlockAllX();
|
||||
#else
|
||||
FallBackToInterpreter(inst);
|
||||
return;
|
||||
#endif
|
||||
}
|
||||
|
||||
void Jit64::stmw(UGeckoInstruction inst)
|
||||
@ -470,7 +453,6 @@ void Jit64::stmw(UGeckoInstruction inst)
|
||||
INSTRUCTION_START
|
||||
JITDISABLE(bJITLoadStoreOff)
|
||||
|
||||
#if _M_X86_64
|
||||
gpr.FlushLockX(ECX);
|
||||
MOV(32, R(EAX), Imm32((u32)(s32)inst.SIMM_16));
|
||||
if (inst.RA)
|
||||
@ -481,10 +463,6 @@ void Jit64::stmw(UGeckoInstruction inst)
|
||||
SwapAndStore(32, MComplex(EBX, EAX, SCALE_1, (i - inst.RD) * 4), ECX);
|
||||
}
|
||||
gpr.UnlockAllX();
|
||||
#else
|
||||
FallBackToInterpreter(inst);
|
||||
return;
|
||||
#endif
|
||||
}
|
||||
|
||||
void Jit64::icbi(UGeckoInstruction inst)
|
||||
|
@ -76,11 +76,7 @@ public:
|
||||
}
|
||||
|
||||
const char *GetName() override {
|
||||
#if _M_X86_64
|
||||
return "JIT64IL";
|
||||
#else
|
||||
return "JIT32IL";
|
||||
#endif
|
||||
}
|
||||
|
||||
// Run!
|
||||
|
Loading…
x
Reference in New Issue
Block a user