cpu: Added new stats to TAGE and LTAGE branch predictors
authorPau Cabre <pau.cabre@metempsy.com>
Thu, 22 Nov 2018 13:48:30 +0000 (14:48 +0100)
committerPau Cabre <pau.cabre@metempsy.com>
Wed, 28 Nov 2018 17:25:50 +0000 (17:25 +0000)
commit86b23a175c9985ecbfae710ba2b0fd6f629650df
treead197ad4f892d6072a22217e4488a9276fdb41b5
parentb2078cef37f10ebe1822e3f2a372c780eab91a7e
cpu: Added new stats to TAGE and LTAGE branch predictors

They are basically used to tell wich component of the predictor is
providing the prediction and whether it is correct or wrong

Change-Id: I7b3db66535f159091f1b37d70c2d942d50b20fb2
Signed-off-by: Pau Cabre <pau.cabre@metempsy.com>
Reviewed-on: https://gem5-review.googlesource.com/c/14535
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/cpu/pred/ltage.cc
src/cpu/pred/ltage.hh
src/cpu/pred/tage.cc
src/cpu/pred/tage.hh