all repos — mgba @ cd0f75c83fe6c99599b2480452cea9585adf5c98

mGBA Game Boy Advance Emulator

Implement MLA
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Apr 2013 13:36:42 -0700
commit

cd0f75c83fe6c99599b2480452cea9585adf5c98

parent

bf54a68b0ef75088d2db471d797d988c4ea548e2

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

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

@@ -505,8 +505,7 @@ // End ALU definitions

// 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)