summaryrefslogtreecommitdiff
path: root/src/cpu/checker
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-11-02 13:11:38 -0500
committerKevin Lim <ktlim@umich.edu>2006-11-02 13:11:38 -0500
commitccaf80cc46fb86639ab5ee166baca08277f5450f (patch)
treeca8ebf28f3092a5f5d06748b31a8dda66d106ee3 /src/cpu/checker
parentf763864786d7b95d46fba6f37e1e9ed601b60733 (diff)
downloadgem5-ccaf80cc46fb86639ab5ee166baca08277f5450f.tar.xz
Use ISA specific makeExtMI.
src/arch/alpha/utility.hh: For now makeExtMI will be specific to the ISA. --HG-- extra : convert_revision : 89959c6499efcc3df9301ad8ea039580764a1496
Diffstat (limited to 'src/cpu/checker')
-rw-r--r--src/cpu/checker/cpu_impl.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cpu/checker/cpu_impl.hh b/src/cpu/checker/cpu_impl.hh
index 36c7349e6..56e13dd1e 100644
--- a/src/cpu/checker/cpu_impl.hh
+++ b/src/cpu/checker/cpu_impl.hh
@@ -199,8 +199,13 @@ Checker<DynInstPtr>::verify(DynInstPtr &completed_inst)
// Checks both the machine instruction and the PC.
validateInst(inst);
+#if THE_ISA == ALPHA_ISA
+ curStaticInst = StaticInst::decode(makeExtMI(machInst,
+ thread->readPC()));
+#elif THE_ISA == SPARC_ISA
curStaticInst = StaticInst::decode(makeExtMI(machInst,
thread->getTC()));
+#endif
#if FULL_SYSTEM
thread->setInst(machInst);