From 6230668f5e7e4d7298d039a99d3bd73d9064bea9 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 2 Aug 2011 11:51:16 -0700 Subject: O3: Get rid of the raw ExtMachInst constructor on DynInsts. This constructor assumes that the ExtMachInst can be decoded directly into a StaticInst that's useful to execute. With the advent of microcoded instructions that's no longer true. --- src/cpu/base_dyn_inst_impl.hh | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/cpu/base_dyn_inst_impl.hh') diff --git a/src/cpu/base_dyn_inst_impl.hh b/src/cpu/base_dyn_inst_impl.hh index 226291e1d..bae047912 100644 --- a/src/cpu/base_dyn_inst_impl.hh +++ b/src/cpu/base_dyn_inst_impl.hh @@ -89,21 +89,6 @@ BaseDynInst::BaseDynInst(StaticInstPtr _staticInst, initVars(); } -template -BaseDynInst::BaseDynInst(TheISA::ExtMachInst inst, - TheISA::PCState _pc, TheISA::PCState _predPC, - InstSeqNum seq_num, ImplCPU *cpu) - : staticInst(inst, _pc.instAddr()), traceData(NULL), cpu(cpu) -{ - seqNum = seq_num; - - pc = _pc; - predPC = _predPC; - predTaken = false; - - initVars(); -} - template BaseDynInst::BaseDynInst(StaticInstPtr &_staticInst) : staticInst(_staticInst), traceData(NULL) -- cgit v1.2.3