all repos — mgba @ 682684cb6d8a3b45b37c62e720a7f38ded261a88

mGBA Game Boy Advance Emulator

Output MUL into the right register
Jeffrey Pfau jeffrey@endrift.com
Sat, 27 Apr 2013 23:44:33 -0700
commit

682684cb6d8a3b45b37c62e720a7f38ded261a88

parent

2c8786ae4cb16344eb524f89e6bd5061d4497ac7

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/arm/isa-arm.csrc/arm/isa-arm.c

@@ -515,7 +515,7 @@

// Begin multiply definitions DEFINE_MULTIPLY_INSTRUCTION_ARM(MLA, cpu->gprs[rdHi] = cpu->gprs[rm] * cpu->gprs[rs] + cpu->gprs[rd], ARM_NEUTRAL_S(, , cpu->gprs[rdHi])) -DEFINE_MULTIPLY_INSTRUCTION_ARM(MUL, cpu->gprs[rd] = cpu->gprs[rm] * cpu->gprs[rs], ARM_NEUTRAL_S(cpu->gprs[rm], cpu->gprs[rs], cpu->gprs[rd])) +DEFINE_MULTIPLY_INSTRUCTION_ARM(MUL, cpu->gprs[rdHi] = cpu->gprs[rm] * cpu->gprs[rs], ARM_NEUTRAL_S(cpu->gprs[rm], cpu->gprs[rs], cpu->gprs[rd])) DEFINE_INSTRUCTION_ARM(SMLAL, ARM_STUB) DEFINE_INSTRUCTION_ARM(SMLALS, ARM_STUB) DEFINE_INSTRUCTION_ARM(SMULL, ARM_STUB)