summaryrefslogtreecommitdiff
path: root/src/cpu/pred/bi_mode.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/pred/bi_mode.hh')
-rw-r--r--src/cpu/pred/bi_mode.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/pred/bi_mode.hh b/src/cpu/pred/bi_mode.hh
index da7c49f46..120a6ffd9 100644
--- a/src/cpu/pred/bi_mode.hh
+++ b/src/cpu/pred/bi_mode.hh
@@ -63,6 +63,7 @@ class BiModeBP : public BPredUnit
void btbUpdate(Addr branch_addr, void * &bp_history);
void update(Addr branch_addr, bool taken, void *bp_history, bool squashed);
void retireSquashed(void *bp_history);
+ unsigned getGHR(void *bp_history) const;
private:
void updateGlobalHistReg(bool taken);