From: Gabe Black Date: Sun, 15 Nov 2009 03:22:30 +0000 (-0800) Subject: ARM: Add a bitfield to indicate if an immediate should be used. X-Git-Tag: stable_2012_02_02~1575^2~70 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=425ebf6bd736d6a7172476a81e935c7b83467dc9;p=gem5.git ARM: Add a bitfield to indicate if an immediate should be used. --- 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;