cpu: Fix O3 issuse with load+barrier instructions.
authorAli Saidi <Ali.Saidi@ARM.com>
Thu, 31 Oct 2013 18:41:13 +0000 (13:41 -0500)
committerAli Saidi <Ali.Saidi@ARM.com>
Thu, 31 Oct 2013 18:41:13 +0000 (13:41 -0500)
commit79f81e26416d99104beda28f4d8af333cccc0048
treeced0bcc3a1eaa1b9a56749f837481d3363d5ee10
parent2b9b245fb38c9f645c22b9d4d8180aab16aeb69a
cpu: Fix O3 issuse with load+barrier instructions.

Fix a problem in the O3 CPU for instructions that are both
memory loads and memory barriers (e.g. load acquire) and
to uncacheable memory. This combination can confuse the
commit stage into commitng an instruction that hasn't
executed and got it's value yet. At the same time refactor
the code slightly to remove duplication between two of
the cases.
src/cpu/o3/commit_impl.hh