summaryrefslogtreecommitdiff
path: root/cpu/beta_cpu/bpred_unit_impl.hh
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/beta_cpu/bpred_unit_impl.hh')
-rw-r--r--cpu/beta_cpu/bpred_unit_impl.hh13
1 files changed, 13 insertions, 0 deletions
diff --git a/cpu/beta_cpu/bpred_unit_impl.hh b/cpu/beta_cpu/bpred_unit_impl.hh
new file mode 100644
index 000000000..47415ce9b
--- /dev/null
+++ b/cpu/beta_cpu/bpred_unit_impl.hh
@@ -0,0 +1,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)
+{
+}