ARM: Add a bitfield to indicate if an immediate should be used.

This commit is contained in:
Gabe Black
2009-11-14 19:22:30 -08:00
parent e543f16247
commit 425ebf6bd7
2 changed files with 2 additions and 0 deletions

View 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;

View 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;