diff options
Diffstat (limited to 'src/cpu/o3/rob.hh')
-rw-r--r-- | src/cpu/o3/rob.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cpu/o3/rob.hh b/src/cpu/o3/rob.hh index fadd99849..d0b156954 100644 --- a/src/cpu/o3/rob.hh +++ b/src/cpu/o3/rob.hh @@ -122,6 +122,11 @@ class ROB */ DynInstPtr readHeadInst(ThreadID tid); + /** Returns a pointer to the instruction with the given sequence if it is + * in the ROB. + */ + DynInstPtr findInst(ThreadID tid, InstSeqNum squash_inst); + /** Returns pointer to the tail instruction within the ROB. There is * no guarantee as to the return value if the ROB is empty. * @retval Pointer to the DynInst that is at the tail of the ROB. |