summaryrefslogtreecommitdiff
path: root/src/cpu/pred
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/pred')
-rw-r--r--src/cpu/pred/2bit_local.cc3
-rw-r--r--src/cpu/pred/bi_mode.cc3
-rw-r--r--src/cpu/pred/btb.cc3
-rw-r--r--src/cpu/pred/tournament.cc3
4 files changed, 8 insertions, 4 deletions
diff --git a/src/cpu/pred/2bit_local.cc b/src/cpu/pred/2bit_local.cc
index 6f821e94c..adbb07583 100644
--- a/src/cpu/pred/2bit_local.cc
+++ b/src/cpu/pred/2bit_local.cc
@@ -28,10 +28,11 @@
* Authors: Kevin Lim
*/
+#include "cpu/pred/2bit_local.hh"
+
#include "base/intmath.hh"
#include "base/misc.hh"
#include "base/trace.hh"
-#include "cpu/pred/2bit_local.hh"
#include "debug/Fetch.hh"
LocalBP::LocalBP(const LocalBPParams *params)
diff --git a/src/cpu/pred/bi_mode.cc b/src/cpu/pred/bi_mode.cc
index 355d0d8f7..69af4584a 100644
--- a/src/cpu/pred/bi_mode.cc
+++ b/src/cpu/pred/bi_mode.cc
@@ -32,9 +32,10 @@
* Implementation of a bi-mode branch predictor
*/
+#include "cpu/pred/bi_mode.hh"
+
#include "base/bitfield.hh"
#include "base/intmath.hh"
-#include "cpu/pred/bi_mode.hh"
BiModeBP::BiModeBP(const BiModeBPParams *params)
: BPredUnit(params),
diff --git a/src/cpu/pred/btb.cc b/src/cpu/pred/btb.cc
index c7ef1959f..9de3bb499 100644
--- a/src/cpu/pred/btb.cc
+++ b/src/cpu/pred/btb.cc
@@ -28,9 +28,10 @@
* Authors: Kevin Lim
*/
+#include "cpu/pred/btb.hh"
+
#include "base/intmath.hh"
#include "base/trace.hh"
-#include "cpu/pred/btb.hh"
#include "debug/Fetch.hh"
DefaultBTB::DefaultBTB(unsigned _numEntries,
diff --git a/src/cpu/pred/tournament.cc b/src/cpu/pred/tournament.cc
index c0c1c12cf..276338151 100644
--- a/src/cpu/pred/tournament.cc
+++ b/src/cpu/pred/tournament.cc
@@ -40,9 +40,10 @@
* Authors: Kevin Lim
*/
+#include "cpu/pred/tournament.hh"
+
#include "base/bitfield.hh"
#include "base/intmath.hh"
-#include "cpu/pred/tournament.hh"
TournamentBP::TournamentBP(const TournamentBPParams *params)
: BPredUnit(params),