Skip to content

Commit

Permalink
Remove jalr from decode branch prediction missaligned inibition
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolu1990 committed Apr 12, 2019
1 parent 63cd5f4 commit 41ff87f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/scala/vexriscv/plugin/Fetcher.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
Expand Down

0 comments on commit 41ff87f

Please sign in to comment.