未验证 提交 7c8e855e 编写于 作者: Y Yinan Xu 提交者: GitHub

Merge pull request #344 from RISCVERS/opt-brupdate

brq: don't store brUpdate.pc and use uop.cf.pc
......@@ -151,7 +151,7 @@ class Brq extends XSModule with HasCircularQueuePtrHelper {
io.brTags(i) := brTag
when (io.enqReqs(i).fire()) {
brQueue(idx).ptrFlag := brTag.flag
brQueue(idx).exuOut.brUpdate.pc := io.enqReqs(i).bits.cf.brUpdate.pc
brQueue(idx).exuOut.brUpdate.pc := io.enqReqs(i).bits.cf.pc
brQueue(idx).exuOut.brUpdate.pnpc := io.enqReqs(i).bits.cf.brUpdate.pnpc
brQueue(idx).exuOut.brUpdate.fetchIdx := io.enqReqs(i).bits.cf.brUpdate.fetchIdx
brQueue(idx).exuOut.brUpdate.pd := io.enqReqs(i).bits.cf.brUpdate.pd
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册