summaryrefslogtreecommitdiff
path: root/tests/long/se/20.parser
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas@sandberg.pp.se>2014-02-09 20:49:28 +0100
committerAndreas Sandberg <andreas@sandberg.pp.se>2014-02-09 20:49:28 +0100
commitc52190a695dc1928713e5bbda85cd17867c7e465 (patch)
tree8e9e03fdd3b1cf367f4fa9e28eaf8458947cfcf7 /tests/long/se/20.parser
parenteb73a14fe29ff4940a206a9961e30c2376412951 (diff)
downloadgem5-c52190a695dc1928713e5bbda85cd17867c7e465.tar.xz
cpu: simple: Add support for using branch predictors
This changesets adds branch predictor support to the BaseSimpleCPU. The simple CPUs normally don't need a branch predictor, however, there are at least two cases where it can be desirable: 1) A simple CPU can be used to warm the branch predictor of an O3 CPU before switching to the slower O3 model. 2) The simple CPU can be used as a quick way of evaluating/debugging new branch predictors since it exposes branch predictor statistics. Limitations: * Since the simple CPU doesn't speculate, only one instruction will be active in the branch predictor at a time (i.e., the branch predictor will never see speculative branches). * The outcome of a branch prediction does not affect the performance of the simple CPU.
Diffstat (limited to 'tests/long/se/20.parser')
0 files changed, 0 insertions, 0 deletions