请教关于branch target buffer的问题

librangel 2010-03-26 05:52:48
Branch Target Buffer (BTB) reduces the penalty by predicting the path of the branch, computing
the target of branch and caching the information used by the branch. There will be no
stalls if the branch entry found on BTB and the prediction is correct, otherwise the penalty
will be at least two cycles.

请问这个target指什么?是哪个brach要用到的信息吗?
如果预测错了 这个branch target buffer 怎么较少penalty了?没看明白 预测错了不是还要discard所预测错的内容嘛?
请高人指点
谢谢
...全文
156 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
evanxgsh 2010-03-26
  • 打赏
  • 举报
回复
不懂帮顶

23,127

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧