提交 c92646b5 编写于 作者: L Lingrui98

ftq: add perf counter for predecode redirect

上级 e6231032
......@@ -919,6 +919,7 @@ class Ftq(implicit p: Parameters) extends XSModule with HasCircularQueuePtrHelpe
XSPerfAccumulate("bpu_to_ftq_stall", enq.valid && !enq.ready)
XSPerfAccumulate("mispredictRedirect", perf_redirect.valid && RedirectLevel.flushAfter === perf_redirect.bits.level)
XSPerfAccumulate("replayRedirect", perf_redirect.valid && RedirectLevel.flushItself(perf_redirect.bits.level))
XSPerfAccumulate("predecodeRedirect", fromIfuRedirect.valid)
XSPerfAccumulate("to_ifu_bubble", io.toIfu.req.ready && !io.toIfu.req.valid)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册