From: Gabe Black Date: Mon, 5 Mar 2007 16:13:50 +0000 (+0000) Subject: Add x86 version of call to "decode" X-Git-Tag: m5_2.0_beta3~146 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d539052b63e6d79485aafb9f2c4771ed2db833aa;p=gem5.git Add x86 version of call to "decode" --HG-- extra : convert_revision : bb799dcea58b51d6e1d3d744581ea48c5c1490fe --- 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.