inorder: Return Address Stack bug
authorKorey Sewell <ksewell@umich.edu>
Fri, 25 Jun 2010 21:42:35 +0000 (17:42 -0400)
committerKorey Sewell <ksewell@umich.edu>
Fri, 25 Jun 2010 21:42:35 +0000 (17:42 -0400)
commit868181f24df3d48170a4676e9df96928a0608e40
tree66bca2a3c6fc7366db7c470a1af563ea1e27c9e2
parent6bfd766f2c6c93cca3f79482bfddf7e6cdeb455e
inorder: Return Address Stack bug
the nextPC was getting sent to the branch predictor not the current PC, so
the RAS was returning the wrong PC and mispredicting everything.
src/cpu/inorder/resources/bpred_unit.cc
src/cpu/inorder/resources/bpred_unit.hh