2bit_local.hh (13959:ea907b02c800) | 2bit_local.hh (13960:e1ab93677110) |
---|---|
1/* 2 * Copyright (c) 2011, 2014 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 32 unchanged lines hidden (view full) --- 41 * Timothy M. Jones 42 */ 43 44#ifndef __CPU_PRED_2BIT_LOCAL_PRED_HH__ 45#define __CPU_PRED_2BIT_LOCAL_PRED_HH__ 46 47#include <vector> 48 | 1/* 2 * Copyright (c) 2011, 2014 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 32 unchanged lines hidden (view full) --- 41 * Timothy M. Jones 42 */ 43 44#ifndef __CPU_PRED_2BIT_LOCAL_PRED_HH__ 45#define __CPU_PRED_2BIT_LOCAL_PRED_HH__ 46 47#include <vector> 48 |
49#include "base/sat_counter.hh" |
|
49#include "base/types.hh" 50#include "cpu/pred/bpred_unit.hh" | 50#include "base/types.hh" 51#include "cpu/pred/bpred_unit.hh" |
51#include "cpu/pred/sat_counter.hh" | |
52#include "params/LocalBP.hh" 53 54/** 55 * Implements a local predictor that uses the PC to index into a table of 56 * counters. Note that any time a pointer to the bp_history is given, it 57 * should be NULL using this predictor because it does not have any branch 58 * predictor state that needs to be recorded or updated; the update can be 59 * determined solely by the branch being taken or not taken. --- 69 unchanged lines hidden --- | 52#include "params/LocalBP.hh" 53 54/** 55 * Implements a local predictor that uses the PC to index into a table of 56 * counters. Note that any time a pointer to the bp_history is given, it 57 * should be NULL using this predictor because it does not have any branch 58 * predictor state that needs to be recorded or updated; the update can be 59 * determined solely by the branch being taken or not taken. --- 69 unchanged lines hidden --- |