Skip to content

Fixed performance bug on Calls via BTB.

Eclipse Webmaster requested to merge github/fork/OttG/btb_fix into master

Created by: OttG

Calls can be either jal or jalr. In the case of a function call with a jalr the signal is_jalr would not be set due to being a call as well (line 154 in frontend.sv) which impedes the use of the BTB for predicting the address. This causes a misprediction on each function call via jalr.

Signed-off-by: Gianmarco Ottavi gianmarco@openhwgroup.org

Merge request reports

Loading