Merge pull request #5263 from MerryMage/dcbz

Jit_LoadStore: Fix dbat memory access
This commit is contained in:
Markus Wick 2017-04-15 11:19:24 +02:00 committed by GitHub
commit fb805e3acb
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ void Jit64::dcbz(UGeckoInstruction inst)
MOV(64, R(RSCRATCH2), ImmPtr(&PowerPC::dbat_table[0]));
PUSH(RSCRATCH);
SHR(32, R(RSCRATCH), Imm8(PowerPC::BAT_INDEX_SHIFT));
TEST(32, MComplex(RSCRATCH, RSCRATCH2, SCALE_4, 0), Imm32(PowerPC::BAT_PHYSICAL_BIT));
TEST(32, MComplex(RSCRATCH2, RSCRATCH, SCALE_4, 0), Imm32(PowerPC::BAT_PHYSICAL_BIT));
POP(RSCRATCH);
FixupBranch slow = J_CC(CC_Z, true);