summaryrefslogtreecommitdiff
path: root/src/arch/arm/types.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2010-06-02 12:58:00 -0500
committerGabe Black <gblack@eecs.umich.edu>2010-06-02 12:58:00 -0500
commitaaa619ea231f003d22cf681dbd90d641f476b84f (patch)
treee77e7889a4024f653cc410f1201ae6b1774b79ce /src/arch/arm/types.hh
parenta1838f2c791ecef74b9410d0341b96b077f2b503 (diff)
downloadgem5-aaa619ea231f003d22cf681dbd90d641f476b84f.tar.xz
ARM: Add thumb bitfields to the ExtMachInst and the isa definition.
Diffstat (limited to 'src/arch/arm/types.hh')
-rw-r--r--src/arch/arm/types.hh16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/arch/arm/types.hh b/src/arch/arm/types.hh
index adc90ba5d..b0251e8fa 100644
--- a/src/arch/arm/types.hh
+++ b/src/arch/arm/types.hh
@@ -125,6 +125,22 @@ namespace ArmISA
Bitfield<24, 20> punwl;
Bitfield<7, 0> m5Func;
+
+ // 16 bit thumb bitfields
+ Bitfield<15, 13> topcode15_13;
+ Bitfield<13, 11> topcode13_11;
+ Bitfield<12, 11> topcode12_11;
+ Bitfield<12, 10> topcode12_10;
+ Bitfield<11, 9> topcode11_9;
+ Bitfield<11, 8> topcode11_8;
+ Bitfield<10, 9> topcode10_9;
+ Bitfield<10, 8> topcode10_8;
+ Bitfield<9, 6> topcode9_6;
+ Bitfield<7> topcode7;
+ Bitfield<7, 6> topcode7_6;
+ Bitfield<7, 5> topcode7_5;
+ Bitfield<7, 4> topcode7_4;
+ Bitfield<3, 0> topcode3_0;
EndBitUnion(ExtMachInst)
// Shift types for ARM instructions