Revert "Disables "ForceCheck" on jit invalidation on ARM32, introduced in #16194"

This reverts commit bc28f54612.
This commit is contained in:
Henrik Rydgård committed 2022-10-11 15:42:59 +02:00
1 parent c819f79664
commit a34e32abe1
3 files changed
+1 -7

No files matched your search

-2
View File
@@ -585,8 +585,6 @@ void ForceCheck()
int cyclesExecuted = slicelength - currentMIPS->downcount;
globalTimer += cyclesExecuted;
// This will cause us to check for new events immediately.
// NOTE: This causes problems on ARM32 in certain contexts due to jo.downcountInRegister.
// Not 100% sure what's going on there yet.
currentMIPS->downcount = -1;
// But let's not eat a bunch more time in Advance() because of this.
slicelength = -1;
+1 -1
View File
@@ -37,7 +37,7 @@ namespace MIPSComp {
// ARM only
downcountInRegister = true;
useNEONVFPU = false;
useNEONVFPU = false; // true
if (Disabled(JitDisable::SIMD))
useNEONVFPU = false;
-4
View File
@@ -370,9 +370,7 @@ void MIPSState::InvalidateICache(u32 address, int length) {
if (coreState == CORE_RUNNING || insideJit) {
pendingClears.emplace_back(address, length);
hasPendingClears = true;
#if !PPSSPP_ARCH(ARM) // See comment in ForceCheck
CoreTiming::ForceCheck();
#endif
} else {
MIPSComp::jit->InvalidateCacheAt(address, length);
}
@@ -385,9 +383,7 @@ void MIPSState::ClearJitCache() {
if (coreState == CORE_RUNNING || insideJit) {
pendingClears.emplace_back(0, 0);
hasPendingClears = true;
#if !PPSSPP_ARCH(ARM) // See comment in ForceCheck
CoreTiming::ForceCheck();
#endif
} else {
MIPSComp::jit->ClearCache();
}