From 99d0b76f3bdbe80363d3b761b9dee350421ffb74 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Tue, 9 Apr 2013 23:47:37 -0700 Subject: [PATCH] Stub out ADD7 and SUB4 --- src/isa-thumb.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/isa-thumb.c b/src/isa-thumb.c index 9500ea6ba..15325c8d0 100644 --- a/src/isa-thumb.c +++ b/src/isa-thumb.c @@ -186,6 +186,9 @@ DEFINE_LOAD_STORE_WITH_REGISTER_THUMB(STR2, ) DEFINE_LOAD_STORE_WITH_REGISTER_THUMB(STRB2, ) DEFINE_LOAD_STORE_WITH_REGISTER_THUMB(STRH2, ) +DEFINE_INSTRUCTION_THUMB(ADD7, ) +DEFINE_INSTRUCTION_THUMB(SUB4, ) + DEFINE_INSTRUCTION_THUMB(ILL, ) DEFINE_INSTRUCTION_THUMB(BX, ) @@ -259,6 +262,10 @@ DEFINE_INSTRUCTION_THUMB(BX, ) APPLY(COUNT_3, DUMMY_4, DECLARE_INSTRUCTION_THUMB(EMITTER, LDR4_R)) \ APPLY(COUNT_3, DUMMY_4, DECLARE_INSTRUCTION_THUMB(EMITTER, ADD5_R)) \ APPLY(COUNT_3, DUMMY_4, DECLARE_INSTRUCTION_THUMB(EMITTER, ADD6_R)) \ + DECLARE_INSTRUCTION_THUMB(EMITTER, ADD7), \ + DECLARE_INSTRUCTION_THUMB(EMITTER, ADD7), \ + DECLARE_INSTRUCTION_THUMB(EMITTER, SUB4), \ + DECLARE_INSTRUCTION_THUMB(EMITTER, SUB4), \ static const ThumbInstruction _thumbTable[0x400] = { DECLARE_THUMB_EMITTER_BLOCK(_ThumbInstruction)