diff options
| author | Markus Wick <degasus@users.noreply.github.com> | 2017-04-15 11:19:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-15 11:19:24 +0200 |
| commit | fb805e3acb4e0fdb4895a5a8f0cfec878472e022 (patch) | |
| tree | f29cba9c6d24ed451ee8157b14dbb1288246f2bc /Source/Core | |
| parent | 6b32c17d1bfcb0050ab18386a53064267f5eabe8 (diff) | |
| parent | b792299ef1e51673b82229a563b426e279689a59 (diff) | |
Merge pull request #5263 from MerryMage/dcbz
Jit_LoadStore: Fix dbat memory access
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/PowerPC/Jit64/Jit_LoadStore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/PowerPC/Jit64/Jit_LoadStore.cpp b/Source/Core/Core/PowerPC/Jit64/Jit_LoadStore.cpp index 503dd8eb19..1d34bf4796 100644 --- a/Source/Core/Core/PowerPC/Jit64/Jit_LoadStore.cpp +++ b/Source/Core/Core/PowerPC/Jit64/Jit_LoadStore.cpp @@ -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); |
