ARM: Add a bitfield to indicate if an immediate should be used.
authorGabe Black <gblack@eecs.umich.edu>
Sun, 15 Nov 2009 03:22:30 +0000 (19:22 -0800)
committerGabe Black <gblack@eecs.umich.edu>
Sun, 15 Nov 2009 03:22:30 +0000 (19:22 -0800)
src/arch/arm/isa/bitfields.isa
src/arch/arm/types.hh

index 816cd4b6de47a5c537bac2c55d721ff458fae77f..bd4cfc3203073458e94d07072213033e5fa86643 100644 (file)
@@ -38,6 +38,7 @@ def bitfield ENCODING      encoding;
 def bitfield OPCODE        opcode;
 def bitfield MEDIA_OPCODE  mediaOpcode;
 def bitfield MEDIA_OPCODE2 mediaOpcode2;
+def bitfield USEIMM        useImm;
 def bitfield OPCODE_24    opcode24;
 def bitfield OPCODE_23_20  opcode23_20;
 def bitfield OPCODE_23_21  opcode23_21;
index e37fd3a1f597d18c68fa752c431be572e94671b7..07fa33ea1775bdcd9d09935fdb47c639707df901 100644 (file)
@@ -45,6 +45,7 @@ namespace ArmISA
 
         // All the different types of opcode fields.
         Bitfield<27, 25> encoding;
+        Bitfield<25>     useImm;
         Bitfield<24, 21> opcode;
         Bitfield<24, 20> mediaOpcode;
         Bitfield<24>     opcode24;