summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-10-07 18:14:48 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-10-07 18:14:48 -0700
commit999328f5ad4e66c171d865f9b7739fa32a925dec (patch)
treeb65498328368eafc9cd8f37020e1a6a2aff9e5cc /src
parentd53552355b35d68eaafa662e2ba8f917dd4bc08b (diff)
downloadgem5-999328f5ad4e66c171d865f9b7739fa32a925dec.tar.xz
X86: Make sure there are fewer spurious differences between instructions for caching purposes.
--HG-- extra : convert_revision : 7e6be1c42f28f92d9e8b47169e683827bb3f4aaf
Diffstat (limited to 'src')
-rw-r--r--src/arch/x86/predecoder.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/x86/predecoder.cc b/src/arch/x86/predecoder.cc
index 62899e65a..ace4a6b94 100644
--- a/src/arch/x86/predecoder.cc
+++ b/src/arch/x86/predecoder.cc
@@ -69,6 +69,8 @@ namespace X86ISA
emi.rex = 0;
emi.legacy = 0;
emi.opcode.num = 0;
+ emi.opcode.op = 0;
+ emi.opcode.prefixA = emi.opcode.prefixB = 0;
immediateCollected = 0;
emi.immediate = 0;