summaryrefslogtreecommitdiff
path: root/src/sim/drain.cc
diff options
context:
space:
mode:
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>2013-01-07 13:05:45 -0500
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>2013-01-07 13:05:45 -0500
commit8db27aa230c40c21acf55fda3755ed173c34e47c (patch)
tree91bb4c589096c5a80907b5bc6cdae9b7e235d59a /src/sim/drain.cc
parenta2077ccf026f4587bf097274b241aa2c78c096e9 (diff)
downloadgem5-8db27aa230c40c21acf55fda3755ed173c34e47c.tar.xz
cpu: Fix broken squashAfter implementation in O3 CPU
Commit can currently both commit and squash in the same cycle. This confuses other stages since the signals coming from the commit stage can only signal either a squash or a commit in a cycle. This changeset changes the behavior of squashAfter so that it commits all instructions, including the instruction that requested the squash, in the first cycle and then starts to squash in the next cycle.
Diffstat (limited to 'src/sim/drain.cc')
0 files changed, 0 insertions, 0 deletions