Skip to content

Commit

Permalink
Improve cycle count for MUL, MLA.
Browse files Browse the repository at this point in the history
Improves Timing score from 679 to 905.
  • Loading branch information
denisfa committed Jul 10, 2020
1 parent 7fbb017 commit 9e537a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gba/GBA-arm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1251,7 +1251,7 @@ DEFINE_ALU_INSN_C(1F, 3F, MVNS, YES)
clockTicks += 3; \
if (busPrefetchCount == 0) \
busPrefetchCount = ((busPrefetchCount + 1) << clockTicks) - 1; \
clockTicks += 1 + codeTicksAccess32(armNextPC);
clockTicks += CYCLES + 1 + codeTicksAccess32(armNextPC);

#define OP_MUL \
reg[dest].I = reg[mult].I * rs;
Expand Down

0 comments on commit 9e537a8

Please sign in to comment.