diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-08-02 11:51:16 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-08-02 11:51:16 -0700 |
commit | 6230668f5e7e4d7298d039a99d3bd73d9064bea9 (patch) | |
tree | aaee702dc1cb9f023e719d2d82576907367f6a72 /src/cpu/o3 | |
parent | 1c68c32cc9926a53bd5df2d85d851541383d34d7 (diff) | |
download | gem5-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.hh | 5 | ||||
-rw-r--r-- | src/cpu/o3/dyn_inst_impl.hh | 9 |
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) { |