diff options
author | Mrinmoy Ghosh <mrinmoy.ghosh@arm.com> | 2012-02-13 12:26:25 -0600 |
---|---|---|
committer | Mrinmoy Ghosh <mrinmoy.ghosh@arm.com> | 2012-02-13 12:26:25 -0600 |
commit | 9b05e96b9efdb9cdcc4e40ef9c96b1228df7a175 (patch) | |
tree | 54471a114f0d7bc09853bb48e8161fe5fec79d12 /src/cpu/o3/commit_impl.hh | |
parent | fd90c3676d94520b98a9af29af09c1f8a2858465 (diff) | |
download | gem5-9b05e96b9efdb9cdcc4e40ef9c96b1228df7a175.tar.xz |
BPred: Fix RAS to handle predicated call/return instructions.
Change RAS to fix issues with predicated call/return instructions.
Handled all cases in the life of a predicated call and return instruction.
Diffstat (limited to 'src/cpu/o3/commit_impl.hh')
-rw-r--r-- | src/cpu/o3/commit_impl.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpu/o3/commit_impl.hh b/src/cpu/o3/commit_impl.hh index b4cc4b017..bb82c37a8 100644 --- a/src/cpu/o3/commit_impl.hh +++ b/src/cpu/o3/commit_impl.hh @@ -1232,6 +1232,10 @@ DefaultCommit<Impl>::commitHead(DynInstPtr &head_inst, unsigned inst_num) delete head_inst->traceData; head_inst->traceData = NULL; } + if (head_inst->isReturn()) { + DPRINTF(Commit,"Return Instruction Committed [sn:%lli] PC %s \n", + head_inst->seqNum, head_inst->pcState()); + } // Update the commit rename map for (int i = 0; i < head_inst->numDestRegs(); i++) { |