From d02fa0f6b6b29a2caf969235feb265dbad6675ff Mon Sep 17 00:00:00 2001 From: Korey Sewell Date: Sun, 19 Jun 2011 21:43:37 -0400 Subject: imported patch recoverPCfromTrap --- src/cpu/inorder/resources/fetch_seq_unit.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cpu/inorder/resources') diff --git a/src/cpu/inorder/resources/fetch_seq_unit.cc b/src/cpu/inorder/resources/fetch_seq_unit.cc index b79b17cdc..5d90f71d3 100644 --- a/src/cpu/inorder/resources/fetch_seq_unit.cc +++ b/src/cpu/inorder/resources/fetch_seq_unit.cc @@ -198,6 +198,7 @@ FetchSeqUnit::squash(DynInstPtr inst, int squash_stage, bdelay_inst->pc, nextPC); if (bdelay_inst->pc.instAddr() == nextPC.instAddr()) { + bdelay_inst->pc = nextPC; advancePC(nextPC, inst->staticInst); DPRINTF(Resource, "Advanced PC to %s\n", nextPC); } -- cgit v1.2.3