dyn_inst_impl.hh (8484:3c641509bf3e) dyn_inst_impl.hh (8502:f1fc7102c970)
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 31 unchanged lines hidden (view full) ---

40 * Authors: Kevin Lim
41 */
42
43#include "base/cp_annotate.hh"
44#include "cpu/o3/dyn_inst.hh"
45
46template <class Impl>
47BaseO3DynInst<Impl>::BaseO3DynInst(StaticInstPtr staticInst,
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 31 unchanged lines hidden (view full) ---

40 * Authors: Kevin Lim
41 */
42
43#include "base/cp_annotate.hh"
44#include "cpu/o3/dyn_inst.hh"
45
46template <class Impl>
47BaseO3DynInst<Impl>::BaseO3DynInst(StaticInstPtr staticInst,
48 StaticInstPtr macroop,
48 TheISA::PCState pc, TheISA::PCState predPC,
49 InstSeqNum seq_num, O3CPU *cpu)
49 TheISA::PCState pc, TheISA::PCState predPC,
50 InstSeqNum seq_num, O3CPU *cpu)
50 : BaseDynInst(staticInst, pc, predPC, seq_num, cpu)
51 : BaseDynInst<Impl>(staticInst, macroop, pc, predPC, seq_num, cpu)
51{
52 initVars();
53}
54
55template <class Impl>
52{
53 initVars();
54}
55
56template <class Impl>
56BaseO3DynInst<Impl>::BaseO3DynInst(StaticInstPtr &_staticInst)
57 : BaseDynInst<Impl>(_staticInst)
57BaseO3DynInst<Impl>::BaseO3DynInst(StaticInstPtr _staticInst,
58 StaticInstPtr _macroop)
59 : BaseDynInst<Impl>(_staticInst, _macroop)
58{
59 initVars();
60}
61
62template <class Impl>
63void
64BaseO3DynInst<Impl>::initVars()
65{

--- 140 unchanged lines hidden ---
60{
61 initVars();
62}
63
64template <class Impl>
65void
66BaseO3DynInst<Impl>::initVars()
67{

--- 140 unchanged lines hidden ---