summaryrefslogtreecommitdiff
path: root/src/cpu/o3/alpha/dyn_inst_impl.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-04-15 21:51:05 +0000
committerGabe Black <gblack@eecs.umich.edu>2007-04-15 21:51:05 +0000
commit308b2f0ce3215eaaed69da937555008f9ed36835 (patch)
tree3ca305dd2307770485a9c782cb070282378d5e90 /src/cpu/o3/alpha/dyn_inst_impl.hh
parentc3081d9c1c36e1a08c173048783d191fa19463de (diff)
downloadgem5-308b2f0ce3215eaaed69da937555008f9ed36835.tar.xz
Add extra constructors to Alpha and MIPS
--HG-- extra : convert_revision : 26ea87bfe9e5c27134eb9a15bf9e4629afae6c69
Diffstat (limited to 'src/cpu/o3/alpha/dyn_inst_impl.hh')
-rw-r--r--src/cpu/o3/alpha/dyn_inst_impl.hh19
1 files changed, 17 insertions, 2 deletions
diff --git a/src/cpu/o3/alpha/dyn_inst_impl.hh b/src/cpu/o3/alpha/dyn_inst_impl.hh
index fdce1ade5..6dfe0ccdd 100644
--- a/src/cpu/o3/alpha/dyn_inst_impl.hh
+++ b/src/cpu/o3/alpha/dyn_inst_impl.hh
@@ -31,10 +31,25 @@
#include "cpu/o3/alpha/dyn_inst.hh"
template <class Impl>
-AlphaDynInst<Impl>::AlphaDynInst(ExtMachInst inst, Addr PC, Addr NPC,
+AlphaDynInst<Impl>::AlphaDynInst(StaticInstPtr staticInst,
+ Addr PC, Addr NPC, Addr microPC,
Addr Pred_PC, Addr Pred_NPC,
+ Addr Pred_MicroPC,
InstSeqNum seq_num, O3CPU *cpu)
- : BaseDynInst<Impl>(inst, PC, NPC, Pred_PC, Pred_NPC, seq_num, cpu)
+ : BaseDynInst<Impl>(staticInst, PC, NPC, microPC,
+ Pred_PC, Pred_NPC, Pred_MicroPC, seq_num, cpu)
+{
+ initVars();
+}
+
+template <class Impl>
+AlphaDynInst<Impl>::AlphaDynInst(ExtMachInst inst,
+ Addr PC, Addr NPC, Addr microPC,
+ Addr Pred_PC, Addr Pred_NPC,
+ Addr Pred_MicroPC,
+ InstSeqNum seq_num, O3CPU *cpu)
+ : BaseDynInst<Impl>(inst, PC, NPC, microPC,
+ Pred_PC, Pred_NPC, Pred_MicroPC, seq_num, cpu)
{
initVars();
}