Fixes to get MIPS_SE to compile.
--HG-- extra : convert_revision : d173f212841341e436e9a38dcd3006d27886c1b8
This commit is contained in:
parent
327f451eb7
commit
68a0e6f2e9
2 changed files with 9 additions and 5 deletions
|
@ -70,8 +70,10 @@ class MipsDynInst : public BaseDynInst<Impl>
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/** BaseDynInst constructor given a binary instruction. */
|
/** BaseDynInst constructor given a binary instruction. */
|
||||||
MipsDynInst(ExtMachInst inst, Addr PC, Addr Pred_PC, InstSeqNum seq_num,
|
MipsDynInst(ExtMachInst inst,
|
||||||
O3CPU *cpu);
|
Addr PC, Addr NPC,
|
||||||
|
Addr Pred_PC, Addr Pred_NPC,
|
||||||
|
InstSeqNum seq_num, O3CPU *cpu);
|
||||||
|
|
||||||
/** BaseDynInst constructor given a static inst pointer. */
|
/** BaseDynInst constructor given a static inst pointer. */
|
||||||
MipsDynInst(StaticInstPtr &_staticInst);
|
MipsDynInst(StaticInstPtr &_staticInst);
|
||||||
|
|
|
@ -31,9 +31,11 @@
|
||||||
#include "cpu/o3/mips/dyn_inst.hh"
|
#include "cpu/o3/mips/dyn_inst.hh"
|
||||||
|
|
||||||
template <class Impl>
|
template <class Impl>
|
||||||
MipsDynInst<Impl>::MipsDynInst(ExtMachInst inst, Addr PC, Addr Pred_PC,
|
MipsDynInst<Impl>::MipsDynInst(ExtMachInst inst,
|
||||||
InstSeqNum seq_num, O3CPU *cpu)
|
Addr PC, Addr NPC,
|
||||||
: BaseDynInst<Impl>(inst, PC, Pred_PC, seq_num, cpu)
|
Addr Pred_PC, Addr Pred_NPC,
|
||||||
|
InstSeqNum seq_num, O3CPU *cpu)
|
||||||
|
: BaseDynInst<Impl>(inst, PC, NPC, Pred_PC, Pred_NPC, seq_num, cpu)
|
||||||
{
|
{
|
||||||
initVars();
|
initVars();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue