ftq: modify jmpTarget in FtbEntry whenever jalr target changes
* previously we only modify jmpTarget on misprediction, and that's because we only use ftb to predict jalr target. However, with the presence of an indirect branch predictor, there exists such case that an indirect branch is correctly predicted when the target in ftb entry is wrong.
Showing
想要评论请 注册 或 登录