Fix data format 3
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Apr 2013 22:35:38 -0700
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/isa-thumb.c
→
src/isa-thumb.c
@@ -97,13 +97,13 @@
DEFINE_DATA_FORM_2_INSTRUCTION_THUMB(ADD, ) DEFINE_DATA_FORM_2_INSTRUCTION_THUMB(SUB, ) -#define DEFINE_DATA_FORM_3_INSTRUCTION_EX_THUMB(NAME, RM, BODY) \ +#define DEFINE_DATA_FORM_3_INSTRUCTION_EX_THUMB(NAME, RD, BODY) \ DEFINE_INSTRUCTION_THUMB(NAME, \ int rd = RD; \ BODY;) #define DEFINE_DATA_FORM_3_INSTRUCTION_THUMB(NAME, BODY) \ - COUNT_3(DEFINE_DATA_FORM_2_INSTRUCTION_EX_THUMB, NAME ## _R, BODY) + COUNT_3(DEFINE_DATA_FORM_3_INSTRUCTION_EX_THUMB, NAME ## _R, BODY) DEFINE_DATA_FORM_3_INSTRUCTION_THUMB(ADD2, ) DEFINE_DATA_FORM_3_INSTRUCTION_THUMB(CMP1, )