cpu: change the location of BTBlookup
authortv-reddy <tvreddy@ucdavis.edu>
Thu, 20 Feb 2020 07:30:41 +0000 (23:30 -0800)
committerTrivikram Reddy <tvreddy@ucdavis.edu>
Wed, 26 Feb 2020 22:53:43 +0000 (22:53 +0000)
commit27dbffdb006c7bd12ad2489a2d346274fe646720
treee9c1f6b82eac46bac43b0717334ccd870d88d92c
parent3473a5502fe562bb1ac35ddea30b48c74ae2adc9
cpu: change the location of BTBlookup

BTBlookup should be done only if BTB is used, previously
this stat was updated for indirector predictor as well.

https: //gem5.atlassian.net/browse/GEM5-338
Change-Id: I20695dc7a8677d4fd0c4ae9f4f7d279387d5ad62
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/25625
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Ayaz Akram <yazakram@ucdavis.edu>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/pred/bpred_unit.cc