summaryrefslogtreecommitdiff
path: root/cpu/beta_cpu/2bit_local_pred.hh
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/beta_cpu/2bit_local_pred.hh')
-rw-r--r--cpu/beta_cpu/2bit_local_pred.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu/beta_cpu/2bit_local_pred.hh b/cpu/beta_cpu/2bit_local_pred.hh
index cda7d3e65..6f9b9eedc 100644
--- a/cpu/beta_cpu/2bit_local_pred.hh
+++ b/cpu/beta_cpu/2bit_local_pred.hh
@@ -31,8 +31,12 @@ class DefaultBP
private:
+ /** Returns the taken/not taken prediction given the value of the
+ * counter.
+ */
inline bool getPrediction(uint8_t &count);
+ /** Calculates the local index based on the PC. */
inline unsigned getLocalIndex(Addr &PC);
/** Array of counters that make up the local predictor. */