cpu: Fixed PC shifting on LTAGE branch predictor
authorPau Cabre <pau.cabre@metempsy.com>
Wed, 7 Nov 2018 22:32:55 +0000 (23:32 +0100)
committerPau Cabre <pau.cabre@metempsy.com>
Tue, 13 Nov 2018 22:37:56 +0000 (22:37 +0000)
commitf3016e6846980038a50a66055cd2619df6926207
treed6f9f03fd75ebea867350e1a61b05366e159c53a
parent2f52a9b65ee37ba8f34ac3d46f96dca9afc02c7c
cpu: Fixed PC shifting on LTAGE branch predictor

The PC needs to be shifted according to the instShiftAmt parameter

Change-Id: I272619c093695b56cf7f8ff7163e3b5d23205d16
Signed-off-by: Pau Cabre <pau.cabre@metempsy.com>
Reviewed-on: https://gem5-review.googlesource.com/c/14035
Reviewed-by: Sudhanshu Jha <sudhanshu.jha@arm.com>
Reviewed-by: Ilias Vougioukas <ilias.vougioukas@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/cpu/pred/ltage.cc