Fixed performance bug on Calls via BTB.
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