From baf145e0f537cafeaa756d1128e3507dfce4bd01 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 12 Jun 2007 16:46:04 +0000 Subject: [PATCH] Reset the rex and legacy prefix components of the ExtMachInst as well. --HG-- extra : convert_revision : 832a324fec2d2b59f1c101d7fa72d7f670f0495d --- src/arch/x86/predecoder.cc | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.30.2