What is the reset time of branch_map and pbc in branch prediction mode
zhangdujiao opened this issue · 2 comments
zhangdujiao commented
In the Branch prediction mode:
When the branch_map is full and the correctly predicted branches count pbc is less than 31, format 1 is sent. After this, whether both branch_map and pbc need to be cleared to 0 or only branch_map is cleared to 0?
thanks!
IainCRobertson commented
Both. After sending a format 1, the encoder operates in normal branch map mode until 31 correct predictions have been reached.
Iain
From: zhangdujiao ***@***.***>
Sent: 28 April 2024 09:53
To: riscv-non-isa/riscv-trace-spec ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [riscv-non-isa/riscv-trace-spec] What is the reset time of branch_map and pbc in branch prediction mode (Issue #104)
In the Branch prediction mode:
When the branch_map is full and the correctly predicted branches count pbc is less than 31, format 1 is sent. After this, whether both branch_map and pbc need to be cleared to 0 or only branch_map is cleared to 0?
thanks!
-
Reply to this email directly, view it on GitHub<#104>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ALQOPSTFFERNLJJKLSATYA3Y7S2H3AVCNFSM6AAAAABG42AFJWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3DONBTGU4TOMQ>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.******@***.***>>
zhangdujiao commented
thanks! problem sovled!