ARM: Decode TBB and TBH.
authorGabe Black <gblack@eecs.umich.edu>
Wed, 2 Jun 2010 17:58:11 +0000 (12:58 -0500)
committerGabe Black <gblack@eecs.umich.edu>
Wed, 2 Jun 2010 17:58:11 +0000 (12:58 -0500)
src/arch/arm/isa/formats/mem.isa

index 303fc02db03cac98655398fe3ba120bbc1509f73..15a4a5c4f7f885558f933a6a78be1bcc548dc6f7 100644 (file)
@@ -325,9 +325,9 @@ def format Thumb32LdrStrDExTbh() {{
                 } else {
                     switch (op3) {
                       case 0x0:
-                        return new WarnUnimplemented("tbb", machInst);
+                        return new Tbb(machInst, rn, rd);
                       case 0x1:
-                        return new WarnUnimplemented("tbh", machInst);
+                        return new Tbh(machInst, rn, rd);
                       case 0x4:
                         return new %(ldrexb)s(machInst, rt, rn, true, 0);
                       case 0x5: