cpu: Added parameters to enable/disable features in LTAGE
authorPau Cabre <pau.cabre@metempsy.com>
Fri, 23 Nov 2018 22:29:35 +0000 (23:29 +0100)
committerPau Cabre <pau.cabre@metempsy.com>
Tue, 11 Dec 2018 22:21:56 +0000 (22:21 +0000)
commit71f6fd3df47989f91829a261bba751ce40531795
treea8fdd6db13165e9cdabc24c16139e4bdb3a8ba29
parent866b200c202dded37fdd857a1a42ec149bd109c9
cpu: Added parameters to enable/disable features in LTAGE

They are for the following features in the LTAGE loop predictor:
 - Hashing for calculating the loop table entry
 - Add direction information
 - Add speculative iteration number information

Change-Id: I395f4526163ee0d0229d1e87cde2bb046f1dd43a
Signed-off-by: Pau Cabre <pau.cabre@metempsy.com>
Reviewed-on: https://gem5-review.googlesource.com/c/14597
Reviewed-by: Ilias Vougioukas <ilias.vougioukas@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Louis Delhez <ldelhez@ucla.edu>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/cpu/pred/BranchPredictor.py
src/cpu/pred/ltage.cc
src/cpu/pred/ltage.hh