Reset the rex and legacy prefix components of the ExtMachInst as well.
authorGabe Black <gblack@eecs.umich.edu>
Tue, 12 Jun 2007 16:46:04 +0000 (16:46 +0000)
committerGabe Black <gblack@eecs.umich.edu>
Tue, 12 Jun 2007 16:46:04 +0000 (16:46 +0000)
--HG--
extra : convert_revision : 832a324fec2d2b59f1c101d7fa72d7f670f0495d

src/arch/x86/predecoder.cc

index 65f951f44ea162ade6c54376a0c27f78a581978d..c99b0cfb06662d7cec35b527a090bdcb792c46bd 100644 (file)
@@ -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;