summaryrefslogtreecommitdiff
path: root/src/arch/x86/predecoder.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-06-14 13:50:58 +0000
committerGabe Black <gblack@eecs.umich.edu>2007-06-14 13:50:58 +0000
commitcd3fee1b81ad3c33733ed55e20d00464cdf791f5 (patch)
tree93dad6c69e5195647413fab418ffcab217badcdc /src/arch/x86/predecoder.hh
parent640ab1d2e76835ecc20596d5d218b97a2ab0cf9d (diff)
downloadgem5-cd3fee1b81ad3c33733ed55e20d00464cdf791f5.tar.xz
Put the mode in the ExtMachInst.
--HG-- extra : convert_revision : 7fc6567ab3d35c06901e6c8a0435f7cab819e17e
Diffstat (limited to 'src/arch/x86/predecoder.hh')
-rw-r--r--src/arch/x86/predecoder.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/arch/x86/predecoder.hh b/src/arch/x86/predecoder.hh
index 0708875c1..3c858f061 100644
--- a/src/arch/x86/predecoder.hh
+++ b/src/arch/x86/predecoder.hh
@@ -176,7 +176,10 @@ namespace X86ISA
tc(_tc), basePC(0), origPC(0), offset(0),
outOfBytes(true), emiIsReady(false),
state(ResetState)
- {}
+ {
+ emi.mode.mode = LongMode;
+ emi.mode.submode = SixtyFourBitMode;
+ }
ThreadContext * getTC()
{