diff options
Diffstat (limited to 'src/cpu/pred/tage.hh')
-rw-r--r-- | src/cpu/pred/tage.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpu/pred/tage.hh b/src/cpu/pred/tage.hh index 0c5cde295..105999c82 100644 --- a/src/cpu/pred/tage.hh +++ b/src/cpu/pred/tage.hh @@ -77,6 +77,7 @@ class TAGE: public BPredUnit virtual bool predict(ThreadID tid, Addr branch_pc, bool cond_branch, void* &b); + public: TAGE(const TAGEParams *params); @@ -87,7 +88,7 @@ class TAGE: public BPredUnit void btbUpdate(ThreadID tid, Addr branch_addr, void* &bp_history) override; void update(ThreadID tid, Addr branch_addr, bool taken, void *bp_history, bool squashed, const StaticInstPtr & inst, - Addr corrTarget) override; + Addr corrTarget = MaxAddr) override; virtual void squash(ThreadID tid, void *bp_history) override; }; |