diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-08-14 04:08:14 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-08-14 04:08:14 -0700 |
commit | ec204f003cfc79fb0da6fe1e6121c4a9bc18c781 (patch) | |
tree | 0dace96c76ab2cf8777ab64f8ca98a90d76a5a83 /src/cpu/base_dyn_inst.hh | |
parent | a81d4a8fcd603f3ef61aadb4ca581f4f1ffff087 (diff) | |
download | gem5-ec204f003cfc79fb0da6fe1e6121c4a9bc18c781.tar.xz |
O3: Add a pointer to the macroop for a microop in the dyninst.
Diffstat (limited to 'src/cpu/base_dyn_inst.hh')
-rw-r--r-- | src/cpu/base_dyn_inst.hh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/cpu/base_dyn_inst.hh b/src/cpu/base_dyn_inst.hh index cb9294481..a3d18bb24 100644 --- a/src/cpu/base_dyn_inst.hh +++ b/src/cpu/base_dyn_inst.hh @@ -103,6 +103,7 @@ class BaseDynInst : public FastAlloc, public RefCounted /** The StaticInst used by this BaseDynInst. */ StaticInstPtr staticInst; + StaticInstPtr macroop; //////////////////////////////////////////// // @@ -378,13 +379,14 @@ class BaseDynInst : public FastAlloc, public RefCounted * @param seq_num The sequence number of the instruction. * @param cpu Pointer to the instruction's CPU. */ - BaseDynInst(StaticInstPtr staticInst, TheISA::PCState pc, - TheISA::PCState predPC, InstSeqNum seq_num, ImplCPU *cpu); + BaseDynInst(StaticInstPtr staticInst, StaticInstPtr macroop, + TheISA::PCState pc, TheISA::PCState predPC, + InstSeqNum seq_num, ImplCPU *cpu); /** BaseDynInst constructor given a StaticInst pointer. * @param _staticInst The StaticInst for this BaseDynInst. */ - BaseDynInst(StaticInstPtr &_staticInst); + BaseDynInst(StaticInstPtr staticInst, StaticInstPtr macroop); /** BaseDynInst destructor. */ ~BaseDynInst(); |