Fix false hit bug after IFU timing optimization (#1367)
* fix invalidTakenFault use wrong seqTarget
* IFU: fix oversize bug
* ctrl: mark all flushes as level.flush for frontend
This commit changes how flushes behave for frontend.
When ROB commits an instruction with a flush, we notify the frontend
of the flush without the commit.
Flushes to frontend may be delayed by some cycles and commit before
flush causes errors. Thus, we make all flush reasons to behave the
same as exceptions for frontend, that is, RedirectLevel.flush.
* IFU: exclude lastTaken situation when judging beyond fetch
Co-authored-by: NYinan Xu <xuyinan@ict.ac.cn>
Showing
想要评论请 注册 或 登录