Remove unnecessarily duplicated code in ARMStep
Jeffrey Pfau jeffrey@endrift.com
Fri, 29 Aug 2014 01:41:32 -0700
1 files changed,
1 insertions(+),
5 deletions(-)
jump to
M
src/arm/arm.c
→
src/arm/arm.c
@@ -176,11 +176,7 @@ LOAD_32(cpu->prefetch, cpu->gprs[ARM_PC] & cpu->memory.activeMask, cpu->memory.activeRegion);
cpu->gprs[ARM_PC] += WORD_SIZE_ARM; unsigned condition = opcode >> 28; - if (condition == 0xE) { - ARMInstruction instruction = _armTable[((opcode >> 16) & 0xFF0) | ((opcode >> 4) & 0x00F)]; - instruction(cpu, opcode); - return; - } else { + if (condition != 0xE) { switch (condition) { case 0x0: if (!ARM_COND_EQ) {