CPU/Recompiler: Swap bl{x,r} for b{x,r} on ARM
Not a subroutine call.
This commit is contained in:
parent
2a8cfc7922
commit
2da692b341
|
@ -295,7 +295,7 @@ u32 CPU::CodeCache::EmitASMFunctions(void* code, u32 code_size)
|
|||
|
||||
// blr(x9[pc * 2]) (fast_map[pc >> 2])
|
||||
armAsm->ldr(RARG1, MemOperand(RARG2, RARG1, LSL, 2));
|
||||
armAsm->blx(RARG1);
|
||||
armAsm->bx(RARG1);
|
||||
}
|
||||
|
||||
g_compile_or_revalidate_block = armAsm->GetCursorAddress<const void*>();
|
||||
|
|
|
@ -483,7 +483,7 @@ u32 CPU::CodeCache::EmitASMFunctions(void* code, u32 code_size)
|
|||
|
||||
// blr(x9[pc * 2]) (fast_map[pc >> 2])
|
||||
armAsm->ldr(RXARG1, MemOperand(RXARG2, RXARG1, LSL, 3));
|
||||
armAsm->blr(RXARG1);
|
||||
armAsm->br(RXARG1);
|
||||
}
|
||||
|
||||
g_compile_or_revalidate_block = armAsm->GetCursorAddress<const void*>();
|
||||
|
|
Loading…
Reference in New Issue