diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-06-12 16:46:04 +0000 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-06-12 16:46:04 +0000 |
commit | baf145e0f537cafeaa756d1128e3507dfce4bd01 (patch) | |
tree | 1a851645aaffa69accdf7542db0b2104b2557771 | |
parent | 548b121c1c33a870beb7379de29c14e9c2e8cf82 (diff) | |
download | gem5-baf145e0f537cafeaa756d1128e3507dfce4bd01.tar.xz |
Reset the rex and legacy prefix components of the ExtMachInst as well.
--HG--
extra : convert_revision : 832a324fec2d2b59f1c101d7fa72d7f670f0495d
-rw-r--r-- | src/arch/x86/predecoder.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/x86/predecoder.cc b/src/arch/x86/predecoder.cc index 65f951f44..c99b0cfb0 100644 --- a/src/arch/x86/predecoder.cc +++ b/src/arch/x86/predecoder.cc @@ -66,6 +66,8 @@ namespace X86ISA { origPC = basePC + offset; DPRINTF(Predecoder, "Setting origPC to %#x\n", origPC); + emi.rex = 0; + emi.legacy = 0; emi.opcode.num = 0; immediateCollected = 0; |