From f4e489ee50d08dd5dfcddde8409f11b64af3e49d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sun, 2 Jun 2019 17:47:06 +0200 Subject: [PATCH] Fix minor oversight --- Core/MIPS/ARM/ArmJit.cpp | 12 ------------ Core/MIPS/JitCommon/JitState.h | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/Core/MIPS/ARM/ArmJit.cpp b/Core/MIPS/ARM/ArmJit.cpp index 246df37e6f..1a1eabd49e 100644 --- a/Core/MIPS/ARM/ArmJit.cpp +++ b/Core/MIPS/ARM/ArmJit.cpp @@ -358,18 +358,6 @@ const u8 *ArmJit::DoJit(u32 em_address, JitBlock *b) FlushPrefixV(); } -#if !PPSSPP_ARCH(ARMV7) - // TODO: Is this path still even supported? - if ((GetCodePtr() - b->checkedEntry - partialFlushOffset) > 3200) - { - // We need to prematurely flush as we are out of range - FixupBranch skip = B_CC(CC_AL); - FlushLitPool(); - SetJumpTarget(skip); - partialFlushOffset = GetCodePtr() - b->checkedEntry; - } -#endif - // Safety check, in case we get a bunch of really large jit ops without a lot of branching. if (GetSpaceLeft() < 0x800 || js.numInstructions >= JitBlockCache::MAX_BLOCK_INSTRUCTIONS) { diff --git a/Core/MIPS/JitCommon/JitState.h b/Core/MIPS/JitCommon/JitState.h index 30cb5fbb18..8ce7fdffa0 100644 --- a/Core/MIPS/JitCommon/JitState.h +++ b/Core/MIPS/JitCommon/JitState.h @@ -208,7 +208,7 @@ namespace MIPSComp { REGALLOC_GPR = 0x02000000, // Doesn't really disable regalloc, but flushes after every instr. REGALLOC_FPR = 0x04000000, - ALL_FLAGS = 0x01FFFFFF, + ALL_FLAGS = 0x07FFFFFF, }; struct JitOptions {