From d539052b63e6d79485aafb9f2c4771ed2db833aa Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 5 Mar 2007 16:13:50 +0000 Subject: Add x86 version of call to "decode" --HG-- extra : convert_revision : bb799dcea58b51d6e1d3d744581ea48c5c1490fe --- src/cpu/simple/base.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cpu') 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. -- cgit v1.2.3