bpred_unit.hh (13654:dc3878f03a0c) | bpred_unit.hh (13957:25e9c77a8a99) |
---|---|
1/* 2 * Copyright (c) 2011-2012, 2014 ARM Limited 3 * Copyright (c) 2010 The University of Edinburgh 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 271 unchanged lines hidden (view full) --- 280 std::vector<History> predHist; 281 282 /** The BTB. */ 283 DefaultBTB BTB; 284 285 /** The per-thread return address stack. */ 286 std::vector<ReturnAddrStack> RAS; 287 | 1/* 2 * Copyright (c) 2011-2012, 2014 ARM Limited 3 * Copyright (c) 2010 The University of Edinburgh 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 271 unchanged lines hidden (view full) --- 280 std::vector<History> predHist; 281 282 /** The BTB. */ 283 DefaultBTB BTB; 284 285 /** The per-thread return address stack. */ 286 std::vector<ReturnAddrStack> RAS; 287 |
288 /** Option to disable indirect predictor. */ 289 const bool useIndirect; 290 | |
291 /** The indirect target predictor. */ | 288 /** The indirect target predictor. */ |
292 IndirectPredictor iPred; | 289 IndirectPredictor * iPred; |
293 294 /** Stat for number of BP lookups. */ 295 Stats::Scalar lookups; 296 /** Stat for number of conditional branches predicted. */ 297 Stats::Scalar condPredicted; 298 /** Stat for number of conditional branches predicted incorrectly. */ 299 Stats::Scalar condIncorrect; 300 /** Stat for number of BTB lookups. */ --- 54 unchanged lines hidden --- | 290 291 /** Stat for number of BP lookups. */ 292 Stats::Scalar lookups; 293 /** Stat for number of conditional branches predicted. */ 294 Stats::Scalar condPredicted; 295 /** Stat for number of conditional branches predicted incorrectly. */ 296 Stats::Scalar condIncorrect; 297 /** Stat for number of BTB lookups. */ --- 54 unchanged lines hidden --- |