diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-11-14 19:22:30 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-11-14 19:22:30 -0800 |
commit | 425ebf6bd736d6a7172476a81e935c7b83467dc9 (patch) | |
tree | 8a098c7ea1a9cd379f56ad3cbc784fa1e1cdf096 /src/arch | |
parent | e543f162475b93a1cae7f301a7edd76067d81ba7 (diff) | |
download | gem5-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.isa | 1 | ||||
-rw-r--r-- | src/arch/arm/types.hh | 1 |
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; |