ARM: Hook the misc instructions into the thumb decoder.
authorGabe Black <gblack@eecs.umich.edu>
Wed, 2 Jun 2010 17:58:17 +0000 (12:58 -0500)
committerGabe Black <gblack@eecs.umich.edu>
Wed, 2 Jun 2010 17:58:17 +0000 (12:58 -0500)
src/arch/arm/isa/formats/branch.isa
src/arch/arm/isa/formats/data.isa

index 055955520ea1661ee85d93dfcd960e0985485da5..e476652661eeefb6c47ae4989d8ee673a8699f36 100644 (file)
@@ -172,13 +172,13 @@ def format Thumb32BranchesAndMiscCtrl() {{
                               case 0x0:
                                 return new NopInst(machInst);
                               case 0x1:
-                                return new WarnUnimplemented("yield", machInst);
+                                return new YieldInst(machInst);
                               case 0x2:
-                                return new WarnUnimplemented("wfe", machInst);
+                                return new WfeInst(machInst);
                               case 0x3:
-                                return new WarnUnimplemented("wfi", machInst);
+                                return new WfiInst(machInst);
                               case 0x4:
-                                return new WarnUnimplemented("sev", machInst);
+                                return new SevInst(machInst);
                               default:
                                 break;
                             }
index a567a92b472ed17c1cce2039934ae69305a7217f..b46fb972d372c673c865df38543755971aeca63d 100644 (file)
@@ -1225,13 +1225,13 @@ def format Thumb16Misc() {{
               case 0x0:
                 return new NopInst(machInst);
               case 0x1:
-                return new WarnUnimplemented("yield", machInst);
+                return new YieldInst(machInst);
               case 0x2:
-                return new WarnUnimplemented("wfe", machInst);
+                return new WfeInst(machInst);
               case 0x3:
-                return new WarnUnimplemented("wfi", machInst);
+                return new WfiInst(machInst);
               case 0x4:
-                return new WarnUnimplemented("sev", machInst);
+                return new SevInst(machInst);
               default:
                 return new WarnUnimplemented("unallocated_hint", machInst);
             }