summaryrefslogtreecommitdiff
path: root/src/cpu/o3
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-08-02 11:51:16 -0700
committerGabe Black <gblack@eecs.umich.edu>2011-08-02 11:51:16 -0700
commit6230668f5e7e4d7298d039a99d3bd73d9064bea9 (patch)
treeaaee702dc1cb9f023e719d2d82576907367f6a72 /src/cpu/o3
parent1c68c32cc9926a53bd5df2d85d851541383d34d7 (diff)
downloadgem5-6230668f5e7e4d7298d039a99d3bd73d9064bea9.tar.xz
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.
Diffstat (limited to 'src/cpu/o3')
-rw-r--r--src/cpu/o3/dyn_inst.hh5
-rw-r--r--src/cpu/o3/dyn_inst_impl.hh9
2 files changed, 0 insertions, 14 deletions
diff --git a/src/cpu/o3/dyn_inst.hh b/src/cpu/o3/dyn_inst.hh
index 5fe1b2609..dc2d32eac 100644
--- a/src/cpu/o3/dyn_inst.hh
+++ b/src/cpu/o3/dyn_inst.hh
@@ -90,11 +90,6 @@ class BaseO3DynInst : public BaseDynInst<Impl>
TheISA::PCState pc, TheISA::PCState predPC,
InstSeqNum seq_num, O3CPU *cpu);
- /** BaseDynInst constructor given a binary instruction. */
- BaseO3DynInst(ExtMachInst inst,
- TheISA::PCState pc, TheISA::PCState predPC,
- InstSeqNum seq_num, O3CPU *cpu);
-
/** BaseDynInst constructor given a static inst pointer. */
BaseO3DynInst(StaticInstPtr &_staticInst);
diff --git a/src/cpu/o3/dyn_inst_impl.hh b/src/cpu/o3/dyn_inst_impl.hh
index 9216c5fa7..44b353253 100644
--- a/src/cpu/o3/dyn_inst_impl.hh
+++ b/src/cpu/o3/dyn_inst_impl.hh
@@ -53,15 +53,6 @@ BaseO3DynInst<Impl>::BaseO3DynInst(StaticInstPtr staticInst,
}
template <class Impl>
-BaseO3DynInst<Impl>::BaseO3DynInst(ExtMachInst inst,
- TheISA::PCState pc, TheISA::PCState predPC,
- InstSeqNum seq_num, O3CPU *cpu)
- : BaseDynInst<Impl>(inst, pc, predPC, seq_num, cpu)
-{
- initVars();
-}
-
-template <class Impl>
BaseO3DynInst<Impl>::BaseO3DynInst(StaticInstPtr &_staticInst)
: BaseDynInst<Impl>(_staticInst)
{