From 425ebf6bd736d6a7172476a81e935c7b83467dc9 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sat, 14 Nov 2009 19:22:30 -0800 Subject: [PATCH] ARM: Add a bitfield to indicate if an immediate should be used. --- src/arch/arm/isa/bitfields.isa | 1 + src/arch/arm/types.hh | 1 + 2 files changed, 2 insertions(+) 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; -- 2.30.2