提交 5e69a42b 编写于 作者: G Guokai Chen

fix ITTAGE update condition

上级 33d13d4b
......@@ -420,7 +420,7 @@ class ITTage(implicit p: Parameters) extends BaseITTage {
val update = io.update.bits
val updateValid =
update.is_jalr && !update.is_ret && u_valid && update.ftb_entry.jmpValid &&
update.jmp_taken
update.jmp_taken && update.cfi_idx.valid && update.cfi_idx.bits === update.ftb_entry.tailSlot.offset
val updateFhist = update.spec_info.folded_hist
// meta is splited by composer
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册