From 41ff87f83b4d82b22723fef4b17f8f826823214f Mon Sep 17 00:00:00 2001 From: Charles Papon Date: Fri, 12 Apr 2019 15:27:10 +0200 Subject: [PATCH] Remove jalr from decode branch prediction missaligned inibition --- src/main/scala/vexriscv/plugin/Fetcher.scala | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/scala/vexriscv/plugin/Fetcher.scala b/src/main/scala/vexriscv/plugin/Fetcher.scala index 4e0d8b4..6caac47 100644 --- a/src/main/scala/vexriscv/plugin/Fetcher.scala +++ b/src/main/scala/vexriscv/plugin/Fetcher.scala @@ -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) )