mirror of
https://github.com/libretro/ppsspp.git
synced 2025-01-20 23:54:48 +00:00
x86jit: Shave off a couple bytes in asm.
This commit is contained in:
parent
77777e372d
commit
2743c5cacd
@ -115,9 +115,10 @@ void AsmRoutineManager::Generate(MIPSState *mips, MIPSComp::Jit *jit, MIPSComp::
|
||||
MOV(32, R(EAX), MComplex(MEMBASEREG, RAX, SCALE_1, 0));
|
||||
#endif
|
||||
MOV(32, R(EDX), R(EAX));
|
||||
AND(32, R(EDX), Imm32(MIPS_JITBLOCK_MASK));
|
||||
CMP(32, R(EDX), Imm32(MIPS_EMUHACK_OPCODE));
|
||||
FixupBranch notfound = J_CC(CC_NZ);
|
||||
_assert_msg_(JIT, MIPS_JITBLOCK_MASK == 0xFF000000, "Hardcoded assumption of emuhack mask");
|
||||
SHR(32, R(EDX), Imm8(24));
|
||||
CMP(32, R(EDX), Imm8(MIPS_EMUHACK_OPCODE >> 24));
|
||||
FixupBranch notfound = J_CC(CC_NE);
|
||||
if (enableDebug)
|
||||
{
|
||||
ADD(32, M(&mips->debugCount), Imm8(1));
|
||||
|
Loading…
x
Reference in New Issue
Block a user