请教三个frontend代码问题
#1252
Replies: 1 comment 3 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
poemonsense
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
第一个问题是为什么brSlot的target优先级总是比TailSlot要高,如果TailSlot的idx offset比brSlot低,不是应该选择TailSlot的target吗?
XiangShan/src/main/scala/xiangshan/frontend/FrontendBundle.scala
Lines 413 to 417 in 0bbc9ca
第二个问题时FallThruAddr的具体含义是什么,为什么在commit update产生ftb entry时要等于br指令的起始地址?
XiangShan/src/main/scala/xiangshan/frontend/NewFtq.scala
Lines 370 to 389 in 0bbc9ca
第三个问题时ftq entry为啥要保存预测target,直接在ifu f2流水级读取下一条ftq entry的起始地址,下一个周期返回读数据用于f3 predecode可以不?然后我觉得一项ftq entry保存的信息太多了,感觉占用太多存储,是否考虑压缩压缩?
Beta Was this translation helpful? Give feedback.
All reactions