ARM: Add unlikely to ALU rd check

This commit is contained in:
Vicki Pfau 2020-11-01 02:28:36 -08:00
parent 1995aa558a
commit 3daa847fc4
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ ATTRIBUTE_NOINLINE static void _neutralS(struct ARMCore* cpu, int32_t d) {
} \ } \
BODY; \ BODY; \
S_BODY; \ S_BODY; \
if (rd == ARM_PC) { \ if (UNLIKELY(rd == ARM_PC)) { \
if (cpu->executionMode == MODE_ARM) { \ if (cpu->executionMode == MODE_ARM) { \
currentCycles += ARMWritePC(cpu); \ currentCycles += ARMWritePC(cpu); \
} else { \ } else { \