ARM: Implement the VMRS instruction.
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/insts/fp.isa

index 7d0fbed85bba2d15e2a4db6e07274af1ccf26577..0beb167dd1f5efb0838ccc8c231493e5129242c5 100644 (file)
@@ -49,4 +49,11 @@ let {{
     header_output += RegRegOpDeclare.subst(vmsrIop);
     decoder_output += RegRegOpConstructor.subst(vmsrIop);
     exec_output += PredOpExecute.subst(vmsrIop);
+
+    vmrsIop = InstObjParams("vmrs", "Vmrs", "RegRegOp",
+                            { "code": "Dest = MiscOp1;",
+                              "predicate_test": predicateTest }, [])
+    header_output += RegRegOpDeclare.subst(vmrsIop);
+    decoder_output += RegRegOpConstructor.subst(vmrsIop);
+    exec_output += PredOpExecute.subst(vmrsIop);
 }};