model: only backtrack fences when acquire is before release
authorBrian Norris <banorris@uci.edu>
Thu, 21 Feb 2013 19:59:50 +0000 (11:59 -0800)
committerBrian Norris <banorris@uci.edu>
Thu, 21 Feb 2013 20:11:00 +0000 (12:11 -0800)
commita01fa7fb82f22ef8d4787fd5d3ad44598a44f924
tree71034cc9ae6408c6f4c22d782e28ade53c7bf00e
parent7064cf5c139946885b0d3df46f59da4946b34d4c
model: only backtrack fences when acquire is before release

Because there are up to 4 actions involved in this search for a
"conflict" (load, fence-acquire, fence-release, store), I overlooked the
fact that we only need to backtrack when the release comes after acquire
in the execution order. This fix skips past the 'release' action before
we begin searching for the 'acquire'.
model.cc