From: Gabe Black Date: Tue, 12 Jun 2007 16:46:04 +0000 (+0000) Subject: Reset the rex and legacy prefix components of the ExtMachInst as well. X-Git-Tag: m5_2.0_beta4~359^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=baf145e0f537cafeaa756d1128e3507dfce4bd01;p=gem5.git Reset the rex and legacy prefix components of the ExtMachInst as well. --HG-- extra : convert_revision : 832a324fec2d2b59f1c101d7fa72d7f670f0495d --- 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;