From d0c5da2cd4227f6dfd12546a0ffcc9e50ffe77cb Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 12 Jun 2007 16:23:42 +0000 Subject: Add an address size bitfield to the isa description and the ExtMachInst --HG-- extra : convert_revision : f8907ef5ef77e050eeb00d895263b49da4a9b6e9 --- src/arch/x86/isa/bitfields.isa | 1 + src/arch/x86/types.hh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 & -- cgit v1.2.3