projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc7f9ab
)
Add x86 version of call to "decode"
author
Gabe Black
<gblack@eecs.umich.edu>
Mon, 5 Mar 2007 16:13:50 +0000
(16:13 +0000)
committer
Gabe Black
<gblack@eecs.umich.edu>
Mon, 5 Mar 2007 16:13:50 +0000
(16:13 +0000)
--HG--
extra : convert_revision :
bb799dcea58b51d6e1d3d744581ea48c5c1490fe
src/cpu/simple/base.cc
patch
|
blob
|
history
diff --git
a/src/cpu/simple/base.cc
b/src/cpu/simple/base.cc
index 80b137909734dd703eeddf054edf3d62f191f338..f6c1091277ec3675c065f71cfd0a6ef8a86a80f7 100644
(file)
--- 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.