summaryrefslogtreecommitdiff
path: root/src/cpu/simple
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-03-05 16:13:50 +0000
committerGabe Black <gblack@eecs.umich.edu>2007-03-05 16:13:50 +0000
commitd539052b63e6d79485aafb9f2c4771ed2db833aa (patch)
treecd9ac8df9e77b64581d023393a8857d8cc8068fd /src/cpu/simple
parentfc7f9ab80a9a1b6c692dc06a054c5066fdee3914 (diff)
downloadgem5-d539052b63e6d79485aafb9f2c4771ed2db833aa.tar.xz
Add x86 version of call to "decode"
--HG-- extra : convert_revision : bb799dcea58b51d6e1d3d744581ea48c5c1490fe
Diffstat (limited to 'src/cpu/simple')
-rw-r--r--src/cpu/simple/base.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc
index 80b137909..f6c109127 100644
--- a/src/cpu/simple/base.cc
+++ b/src/cpu/simple/base.cc
@@ -371,6 +371,8 @@ BaseSimpleCPU::preExecute()
StaticInstPtr instPtr = StaticInst::decode(makeExtMI(inst, thread->readPC()));
#elif THE_ISA == SPARC_ISA
StaticInstPtr instPtr = StaticInst::decode(makeExtMI(inst, thread->getTC()));
+#elif THE_ISA == X86_ISA
+ StaticInstPtr instPtr = StaticInst::decode(makeExtMI(inst, thread->getTC()));
#elif THE_ISA == MIPS_ISA
//Mips doesn't do anything in it's MakeExtMI function right now,
//so it won't be called.