Review Board 2.0.15


O3: Fix an issue with a load & branch instruction and mem dep squashing

Review Request #677 - Created May 4, 2011 and submitted - Latest diff uploaded

Information
Ali Saidi
gem5
Reviewers
Default
ali, gblack, nate, stever
O3: Fix an issue with a load & branch instruction and mem dep squashing

Instructions that load an address and are control instructions can
execute down the wrong path if they were predicted correctly and then
instructions following them are squashed. If an instruction is a
memory and control op use the predicted address for the next PC instead
of just advancing the PC. Without this change NPC is used for the next
instruction, but predPC is used to verify that the branch was successful
so the wrong path is silently executed.
Passes all regression tests without change