mirror of https://github.com/mgba-emu/mgba.git
Output MUL into the right register
This commit is contained in:
parent
2c8786ae4c
commit
682684cb6d
|
@ -515,7 +515,7 @@ DEFINE_ALU_INSTRUCTION_S_ONLY_ARM(TST, ARM_NEUTRAL_S(cpu->gprs[rn], cpu->shifter
|
||||||
// Begin multiply definitions
|
// 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(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(SMLAL, ARM_STUB)
|
||||||
DEFINE_INSTRUCTION_ARM(SMLALS, ARM_STUB)
|
DEFINE_INSTRUCTION_ARM(SMLALS, ARM_STUB)
|
||||||
DEFINE_INSTRUCTION_ARM(SMULL, ARM_STUB)
|
DEFINE_INSTRUCTION_ARM(SMULL, ARM_STUB)
|
||||||
|
|
Loading…
Reference in New Issue