Stub out STR2

This commit is contained in:
Jeffrey Pfau 2013-04-09 23:00:31 -07:00
parent 11de611fd2
commit f42c8d111e
1 changed files with 12 additions and 1 deletions

View File

@ -157,6 +157,16 @@ DEFINE_INSTRUCTION_WITH_HIGH_THUMB(MOV3, )
DEFINE_LOAD_WITH_IMMEDIATE_THUMB(LDR, ) DEFINE_LOAD_WITH_IMMEDIATE_THUMB(LDR, )
#define DEFINE_STORE_WITH_IMMEDIATE_EX_THUMB(NAME, RM, BODY) \
DEFINE_INSTRUCTION_THUMB(NAME, \
int rd = RM; \
BODY;)
#define DEFINE_STORE_WITH_IMMEDIATE_THUMB(NAME, BODY) \
COUNT_3(DEFINE_STORE_WITH_IMMEDIATE_EX_THUMB, NAME ## 2_R, BODY)
DEFINE_STORE_WITH_IMMEDIATE_THUMB(STR, )
DEFINE_INSTRUCTION_THUMB(ILL, ) DEFINE_INSTRUCTION_THUMB(ILL, )
#define DECLARE_INSTRUCTION_THUMB(EMITTER, NAME) \ #define DECLARE_INSTRUCTION_THUMB(EMITTER, NAME) \
@ -210,7 +220,8 @@ DEFINE_INSTRUCTION_THUMB(ILL, )
DECLARE_INSTRUCTION_THUMB(EMITTER, ILL), \ DECLARE_INSTRUCTION_THUMB(EMITTER, ILL), \
DECLARE_INSTRUCTION_THUMB(EMITTER, ILL), \ DECLARE_INSTRUCTION_THUMB(EMITTER, ILL), \
DECLARE_INSTRUCTION_THUMB(EMITTER, ILL), \ DECLARE_INSTRUCTION_THUMB(EMITTER, ILL), \
APPLY(COUNT_3, DUMMY_4, DECLARE_INSTRUCTION_THUMB(EMITTER, LDR3_R)) APPLY(COUNT_3, DUMMY_4, DECLARE_INSTRUCTION_THUMB(EMITTER, LDR3_R)) \
APPLY(COUNT_3, DUMMY, DECLARE_INSTRUCTION_THUMB(EMITTER, STR2_R))
static const ThumbInstruction _thumbTable[0x400] = { static const ThumbInstruction _thumbTable[0x400] = {
DECLARE_THUMB_EMITTER_BLOCK(_ThumbInstruction) DECLARE_THUMB_EMITTER_BLOCK(_ThumbInstruction)