Remove jalr from decode branch prediction missaligned inibition

This commit is contained in:
Charles Papon 2019-04-12 15:27:10 +02:00
parent 63cd5f42af
commit 41ff87f83b
1 changed files with 0 additions and 1 deletions

View File

@ -490,7 +490,6 @@ abstract class IBusFetcherImpl(val resetVector : BigInt,
val noPredictionOnMissaligned = (!pipeline(RVC_GEN)) generate new Area{
val missaligned = decode.input(BRANCH_CTRL).mux(
BranchCtrlEnum.JALR -> (imm.i_sext(1) ^ decode.input(RS1)(1)),
BranchCtrlEnum.JAL -> imm.j_sext(1),
default -> imm.b_sext(1)
)