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

index 45464018ebc4eef79ab24dd14a01614229b1fd3d..e03fbfda3031f8aacede67708766bbf25eca2f5d 100644 (file)
@@ -91,7 +91,7 @@ def format Thumb16CondBranchAndSvc() {{
             return new B(machInst, sext<9>(bits(machInst, 7, 0) << 1),
                          (ConditionCode)(uint32_t)bits(machInst, 11, 8));
         } else if (bits(machInst, 8)) {
-            return new WarnUnimplemented("svc", machInst);
+            return new Svc(machInst);
         } else {
             // This space will not be allocated in the future.
             return new WarnUnimplemented("unimplemented", machInst);