mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
arm64jit: Tweak memchecks.
This commit is contained in:
1 parent
e433a8be4a
commit
772b3ff7b8
1 file changed
+2
-5
@@ -163,12 +163,9 @@ void Arm64JitBackend::CompIR_Breakpoint(IRInst inst) {
|
||||
for (auto it : memchecks) {
|
||||
if (it.end != 0) {
|
||||
CMPI2R(SCRATCH1, it.start - size, SCRATCH2);
|
||||
FixupBranch skipNext = B(CC_LS);
|
||||
|
||||
CMPI2R(SCRATCH1, it.end, SCRATCH2);
|
||||
MOVI2R(SCRATCH2, it.end);
|
||||
CCMP(SCRATCH1, SCRATCH2, 0xF, CC_HI);
|
||||
hitChecks.push_back(B(CC_LO));
|
||||
|
||||
SetJumpTarget(skipNext);
|
||||
} else {
|
||||
CMPI2R(SCRATCH1, it.start, SCRATCH2);
|
||||
hitChecks.push_back(B(CC_EQ));
|
||||
|
||||
Reference in new issue
Block a user