summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-11-14 19:22:30 -0800
committerGabe Black <gblack@eecs.umich.edu>2009-11-14 19:22:30 -0800
commit425ebf6bd736d6a7172476a81e935c7b83467dc9 (patch)
tree8a098c7ea1a9cd379f56ad3cbc784fa1e1cdf096 /src/arch
parente543f162475b93a1cae7f301a7edd76067d81ba7 (diff)
downloadgem5-425ebf6bd736d6a7172476a81e935c7b83467dc9.tar.xz
ARM: Add a bitfield to indicate if an immediate should be used.
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arm/isa/bitfields.isa1
-rw-r--r--src/arch/arm/types.hh1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/arm/isa/bitfields.isa b/src/arch/arm/isa/bitfields.isa
index 816cd4b6d..bd4cfc320 100644
--- a/src/arch/arm/isa/bitfields.isa
+++ b/src/arch/arm/isa/bitfields.isa
@@ -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;
diff --git a/src/arch/arm/types.hh b/src/arch/arm/types.hh
index e37fd3a1f..07fa33ea1 100644
--- a/src/arch/arm/types.hh
+++ b/src/arch/arm/types.hh
@@ -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;