cpu: Add writeback modeling for drain functionality
authorMitch Hayenga <mitch.hayenga@arm.com>
Thu, 30 Oct 2014 04:18:27 +0000 (23:18 -0500)
committerMitch Hayenga <mitch.hayenga@arm.com>
Thu, 30 Oct 2014 04:18:27 +0000 (23:18 -0500)
commit5bfa521c46e489c06ac3ae44b97421f5ccb30bb7
treec481d242810201e5c9bfb138b4e096ad4174dda4
parent6847bbf7cefcebfeed6ec29fa139efcb3ce20be4
cpu: Add writeback modeling for drain functionality

It is possible for the O3 CPU to consider itself drained and
later have a squashed instruction perform a writeback.  This
patch re-adds tracking of in-flight instructions to prevent
falsely signaling a drained event.
src/cpu/o3/inst_queue.hh
src/cpu/o3/inst_queue_impl.hh