From 9b05e96b9efdb9cdcc4e40ef9c96b1228df7a175 Mon Sep 17 00:00:00 2001 From: Mrinmoy Ghosh Date: Mon, 13 Feb 2012 12:26:25 -0600 Subject: 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. --- src/cpu/o3/commit_impl.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cpu/o3/commit_impl.hh') 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::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++) { -- cgit v1.2.3