summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-06-12 16:23:42 +0000
committerGabe Black <gblack@eecs.umich.edu>2007-06-12 16:23:42 +0000
commitd0c5da2cd4227f6dfd12546a0ffcc9e50ffe77cb (patch)
treeedc688119b6b78d21daf3b784f8ed2bc20158e87
parent4ad73abcfb663050d02b10b0595b4bc80a8a186f (diff)
downloadgem5-d0c5da2cd4227f6dfd12546a0ffcc9e50ffe77cb.tar.xz
Add an address size bitfield to the isa description and the ExtMachInst
--HG-- extra : convert_revision : f8907ef5ef77e050eeb00d895263b49da4a9b6e9
-rw-r--r--src/arch/x86/isa/bitfields.isa1
-rw-r--r--src/arch/x86/types.hh3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/arch/x86/isa/bitfields.isa b/src/arch/x86/isa/bitfields.isa
index e4a5e310c..c7ed02f2c 100644
--- a/src/arch/x86/isa/bitfields.isa
+++ b/src/arch/x86/isa/bitfields.isa
@@ -87,3 +87,4 @@ def bitfield SIB_INDEX sib.index;
def bitfield SIB_BASE sib.base;
def bitfield OPSIZE opSize;
+def bitfield ADDRSIZE addrSize;
diff --git a/src/arch/x86/types.hh b/src/arch/x86/types.hh
index 022f20ee5..225258358 100644
--- a/src/arch/x86/types.hh
+++ b/src/arch/x86/types.hh
@@ -149,7 +149,8 @@ namespace X86ISA
//The effective operand size.
uint8_t opSize;
- //The
+ //The effective address size.
+ uint8_t addrSize;
};
inline static std::ostream &