diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2014-08-13 06:57:21 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2014-08-13 06:57:21 -0400 |
commit | 66904b9584e09a9b6b6cb382ba208ec9a527edbe (patch) | |
tree | a4c06f9f82ac4a7a5dd0f7d42e94c4cf3e4f9cdd /src/dev/uart.cc | |
parent | 94daae6864769ffc5fff037dd18b2e8062ee672d (diff) | |
download | gem5-66904b9584e09a9b6b6cb382ba208ec9a527edbe.tar.xz |
cpu: Modernise the branch predictor (STL and C++11)
This patch does some minor house keeping of the branch predictor by
adopting STL containers, and shifting some iterator to use range-based
for loops.
The predictor history is also changed from a list to a deque as we
never to insertion/deletion other than at the front and back.
Diffstat (limited to 'src/dev/uart.cc')
0 files changed, 0 insertions, 0 deletions