summaryrefslogtreecommitdiff
path: root/src/cpu/o3/dyn_inst.hh
diff options
context:
space:
mode:
authorDjordje Kovacevic <djordje.kovacevic@arm.com>2012-09-25 11:49:40 -0500
committerDjordje Kovacevic <djordje.kovacevic@arm.com>2012-09-25 11:49:40 -0500
commitd060a28a2938aff5446e2b800176208c72b698da (patch)
tree6ec0965b063a0e168a9f1fe1d292c6cfeb91a54d /src/cpu/o3/dyn_inst.hh
parentbfffbb67976fc4a01185e36c8eaf755454cf19a5 (diff)
downloadgem5-d060a28a2938aff5446e2b800176208c72b698da.tar.xz
CPU: Add abandoned instructions to O3 Pipe Viewer
Diffstat (limited to 'src/cpu/o3/dyn_inst.hh')
-rw-r--r--src/cpu/o3/dyn_inst.hh15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/cpu/o3/dyn_inst.hh b/src/cpu/o3/dyn_inst.hh
index 8acbf3443..b5344f875 100644
--- a/src/cpu/o3/dyn_inst.hh
+++ b/src/cpu/o3/dyn_inst.hh
@@ -93,6 +93,8 @@ class BaseO3DynInst : public BaseDynInst<Impl>
/** BaseDynInst constructor given a static inst pointer. */
BaseO3DynInst(StaticInstPtr _staticInst, StaticInstPtr _macroop);
+ ~BaseO3DynInst();
+
/** Executes the instruction.*/
Fault execute();
@@ -123,12 +125,13 @@ class BaseO3DynInst : public BaseDynInst<Impl>
public:
#if TRACING_ON
/** Tick records used for the pipeline activity viewer. */
- Tick fetchTick;
- uint32_t decodeTick;
- uint32_t renameTick;
- uint32_t dispatchTick;
- uint32_t issueTick;
- uint32_t completeTick;
+ Tick fetchTick; // instruction fetch is completed.
+ int32_t decodeTick; // instruction enters decode phase
+ int32_t renameTick; // instruction enters rename phase
+ int32_t dispatchTick;
+ int32_t issueTick;
+ int32_t completeTick;
+ int32_t commitTick;
#endif
/** Reads a misc. register, including any side-effects the read