mirror of https://github.com/mgba-emu/mgba.git
Implement MLA
This commit is contained in:
parent
bf54a68b0e
commit
cd0f75c83f
|
@ -505,8 +505,7 @@ DEFINE_ALU_INSTRUCTION_S_ONLY_ARM(TST, ARM_NEUTRAL_S(cpu->gprs[rn], cpu->shifter
|
|||
|
||||
// Begin multiply definitions
|
||||
|
||||
DEFINE_INSTRUCTION_ARM(MLA, ARM_STUB)
|
||||
DEFINE_INSTRUCTION_ARM(MLAS, ARM_STUB)
|
||||
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_INSTRUCTION_ARM(SMLAL, ARM_STUB)
|
||||
DEFINE_INSTRUCTION_ARM(SMLALS, ARM_STUB)
|
||||
|
|
Loading…
Reference in New Issue