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

Merge branch 'master' into dual-dev

...@@ -281,7 +281,9 @@ class Ftq extends XSModule with HasCircularQueuePtrHelper { ...@@ -281,7 +281,9 @@ class Ftq extends XSModule with HasCircularQueuePtrHelper {
s := s_invalid s := s_invalid
} }
}) })
commitStateQueue(next.value).foreach(_ := s_invalid) when(next.value =/= headPtr.value){ // if next.value === headPtr.value, ftq is full
commitStateQueue(next.value).foreach(_ := s_invalid)
}
} }
XSPerf("ftqEntries", validEntries) XSPerf("ftqEntries", validEntries)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册