Add x86 version of call to "decode"
authorGabe Black <gblack@eecs.umich.edu>
Mon, 5 Mar 2007 16:13:50 +0000 (16:13 +0000)
committerGabe 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

index 80b137909734dd703eeddf054edf3d62f191f338..f6c1091277ec3675c065f71cfd0a6ef8a86a80f7 100644 (file)
@@ -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.