cpu: Fix indirect branch history updates
authorSrikant Bharadwaj <srikant.bharadwaj@amd.com>
Tue, 26 Feb 2019 19:44:40 +0000 (14:44 -0500)
committerSrikant Bharadwaj <srikant.bharadwaj@amd.com>
Tue, 26 Feb 2019 19:52:43 +0000 (19:52 +0000)
commitae233c7723caf0c441e251883d887c98134e0482
tree8b0f99af26be5b6f7410ab40d5012ab967845434
parent8e723650586e9d902d4b462ddf5bb067e5eb0757
cpu: Fix indirect branch history updates

Recent changes to indirect branch predictor interface accesses
non-existent buffers even when indirect predictor is not in use.

Change-Id: I0df9ac4d5f6f3cb63e4d1bd36949c27f7611eef6
Reviewed-on: https://gem5-review.googlesource.com/c/16668
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
src/cpu/pred/bpred_unit.cc