projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
548b121
)
Reset the rex and legacy prefix components of the ExtMachInst as well.
author
Gabe Black
<gblack@eecs.umich.edu>
Tue, 12 Jun 2007 16:46:04 +0000
(16:46 +0000)
committer
Gabe 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
patch
|
blob
|
history
diff --git
a/src/arch/x86/predecoder.cc
b/src/arch/x86/predecoder.cc
index 65f951f44ea162ade6c54376a0c27f78a581978d..c99b0cfb06662d7cec35b527a090bdcb792c46bd 100644
(file)
--- 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;