summaryrefslogtreecommitdiff
path: root/src/cpu/o3/cpu.cc
diff options
context:
space:
mode:
authorMitch Hayenga <mitch.hayenga@arm.com>2014-09-03 07:42:36 -0400
committerMitch Hayenga <mitch.hayenga@arm.com>2014-09-03 07:42:36 -0400
commitdaedc5a49127eb91036291af1619bbc98016aff0 (patch)
tree6bf2ac8d871cd9b4c49c3aa0dc48096f76dfe427 /src/cpu/o3/cpu.cc
parentecd53009712da59a98ad3c13ed20aaa8e8cd7e29 (diff)
downloadgem5-daedc5a49127eb91036291af1619bbc98016aff0.tar.xz
cpu: Fix incorrect speculative branch predictor behavior
When a branch mispredicted gem5 would squash all history after and including the mispredicted branch. However, the mispredicted branch is still speculative and its history is required to rollback state if another, older, branch mispredicts. This leads to things like RAS corruption.
Diffstat (limited to 'src/cpu/o3/cpu.cc')
0 files changed, 0 insertions, 0 deletions