mirror of https://github.com/mgba-emu/mgba.git
ARM: Add unlikely to ALU rd check
This commit is contained in:
parent
1995aa558a
commit
3daa847fc4
|
@ -293,7 +293,7 @@ ATTRIBUTE_NOINLINE static void _neutralS(struct ARMCore* cpu, int32_t d) {
|
|||
} \
|
||||
BODY; \
|
||||
S_BODY; \
|
||||
if (rd == ARM_PC) { \
|
||||
if (UNLIKELY(rd == ARM_PC)) { \
|
||||
if (cpu->executionMode == MODE_ARM) { \
|
||||
currentCycles += ARMWritePC(cpu); \
|
||||
} else { \
|
||||
|
|
Loading…
Reference in New Issue