Skip to content

请教三个frontend代码问题 #1252

Closed Answered by Lingrui98
ddxoxpp asked this question in Q&A
Discussion options

You must be logged in to vote
  1. 我们在生成entry的时候保证offset一定按slot递增
  2. fallThruAddr的意思就是这个ftbEntry没有预测跳转的指令的情况下,下一个预测块的起始地址;这里是ftbEntry的生成逻辑中分支指令溢出的处理,当以startAddr开始的FetchWidth*4 Byte中存在超过规定条数的转移指令时,我们把offset最大的放到下一个块,同时让这个块的fallThruAddr是它
  3. target不仅给ifu读,也给后端判断jalr预测地址读,按你说的实现方式,如果在ifu或后端读的时候,下一个ftqEntry还没入队,那就读不到预测目标地址,不过也许这种情况不常见
  4. 目前ftq entry存储的信息都是有用的(除了几个计划移除的记录cycle数的64位UInt),您说的压缩指什么形式呢?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ddxoxpp
Comment options

@Lingrui98
Comment options

@ddxoxpp
Comment options

Answer selected by poemonsense
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants