ARM: Define a new "movt" data processing instruction.
authorGabe Black <gblack@eecs.umich.edu>
Wed, 2 Jun 2010 17:58:03 +0000 (12:58 -0500)
committerGabe Black <gblack@eecs.umich.edu>
Wed, 2 Jun 2010 17:58:03 +0000 (12:58 -0500)
src/arch/arm/isa/insts/data.isa

index a4fed380e49459869649a34016e5e4b395e9e5b6..f96416168ec97ad23681d2f38a81a252a9d3520b 100644 (file)
@@ -185,4 +185,6 @@ let {{
     buildDataInst("mov", "Dest = resTemp = secondOp;")
     buildDataInst("bic", "Dest = resTemp = Op1 & ~secondOp;")
     buildDataInst("mvn", "Dest = resTemp = ~secondOp;")
+    buildDataInst("movt",
+            "Dest = resTemp = insertBits(Op1, 31, 16, secondOp);")
 }};