Do register writeback in addressing mode 2 before actual load/store
Jeffrey Pfau jeffrey@endrift.com
Fri, 26 Jul 2013 23:42:45 -0700
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/arm/isa-arm.c
→
src/arm/isa-arm.c
@@ -444,8 +444,8 @@ int rd = (opcode >> 12) & 0xF; \
int rm = opcode & 0xF; \ UNUSED(rm); \ address = ADDRESS; \ - BODY; \ - WRITEBACK;) + WRITEBACK; \ + BODY;) #define DEFINE_LOAD_STORE_INSTRUCTION_SHIFTER_ARM(NAME, SHIFTER, BODY) \ DEFINE_LOAD_STORE_INSTRUCTION_EX_ARM(NAME, ADDR_MODE_2_RN, ADDR_MODE_2_WRITEBACK(ADDR_MODE_2_INDEX(-, SHIFTER)), BODY) \