Fix JIT64 mtmsr - PIE support caused the codesize

to get bigger, breaking an optimization.  This forces the emitter to use a
32bit pointer instead of an 8bit one, fixing the issue at the expense of
efficiency.
This commit is contained in:
JMC47 2017-08-22 06:28:57 -04:00
parent 9cdf4b5eaa
commit f7b133b39a
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ void Jit64::mtmsr(UGeckoInstruction inst)
// external exceptions when going out of mtmsr in order to execute delayed
// interrupts as soon as possible.
TEST(32, PPCSTATE(msr), Imm32(0x8000));
FixupBranch eeDisabled = J_CC(CC_Z);
FixupBranch eeDisabled = J_CC(CC_Z, true);
TEST(32, PPCSTATE(Exceptions),
Imm32(EXCEPTION_EXTERNAL_INT | EXCEPTION_PERFORMANCE_MONITOR | EXCEPTION_DECREMENTER));