From f34a8f0d6163fe82849d494bf78c0f5ec175861c Mon Sep 17 00:00:00 2001 From: Anthony Gutierrez Date: Mon, 30 Jun 2014 13:50:03 -0400 Subject: cpu: implement a bi-mode branch predictor --- src/cpu/pred/bpred_unit.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cpu/pred/bpred_unit.cc') diff --git a/src/cpu/pred/bpred_unit.cc b/src/cpu/pred/bpred_unit.cc index 52a77119c..585f7c2d8 100644 --- a/src/cpu/pred/bpred_unit.cc +++ b/src/cpu/pred/bpred_unit.cc @@ -32,6 +32,7 @@ */ #include "cpu/pred/2bit_local.hh" +#include "cpu/pred/bi_mode.hh" #include "cpu/pred/bpred_unit_impl.hh" #include "cpu/pred/tournament.hh" @@ -43,6 +44,8 @@ BranchPredictorParams::create() return new LocalBP(this); } else if (predType == "tournament") { return new TournamentBP(this); + } else if (predType == "bi-mode") { + return new BiModeBP(this); } else { fatal("Invalid BP selected!"); } -- cgit v1.2.3