mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-26 07:43:36 +01:00
Separate out jit reading nearby instructions.
This makes it easier to use an IR for these things, or remove them.
This commit is contained in:
1 parent
59d0baca93
commit
a897723e6a
14 files changed
+51
-36
No files matched your search
@@ -95,7 +95,7 @@ namespace MIPSComp
|
||||
if (!js.inDelaySlot && false) {
|
||||
// Optimisation: Combine to single unaligned load/store
|
||||
bool isLeft = (o == 34 || o == 42);
|
||||
MIPSOpcode nextOp = Memory::Read_Instruction(js.compilerPC + 4);
|
||||
MIPSOpcode nextOp = GetOffsetInstruction(1);
|
||||
// Find a matching shift in opposite direction with opposite offset.
|
||||
if (nextOp == (isLeft ? (op.encoding + (4 << 26) - 3)
|
||||
: (op.encoding - (4 << 26) + 3))) {
|
||||
|
||||
Reference in new issue
Block a user