summaryrefslogtreecommitdiff
path: root/cpu/beta_cpu/bpred_unit_impl.hh
blob: 47415ce9b9608c13521b9b7f212cc976e2e1b5f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

#include "cpu/beta_cpu/bpred_unit.hh"

template<class Impl>
DefaultBPredUnit<Impl>::DefaultBPredUnit(Params &params)
  : BP(params.localPredictorSize,
       params.localPredictorCtrBits,
       params.instShiftAmt),
    BTB(params.BTBEntries,
        params.BTBTagSize,
        params.instShiftAmt)
{
}