projects
/
cdsspec-compiler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a69e8af
)
model: fix - RMW cannot break release sequences
author
Brian Norris
<banorris@uci.edu>
Fri, 19 Oct 2012 22:27:37 +0000
(15:27 -0700)
committer
Brian Norris
<banorris@uci.edu>
Fri, 19 Oct 2012 22:27:37 +0000
(15:27 -0700)
I misinterpreted the spec's description of release sequences.
model.cc
patch
|
blob
|
history
diff --git
a/model.cc
b/model.cc
index 2aaa1c26dbea3ad9e78720683635a117d83243f1..134e457eb44468e02c4d9879e89e1c25a1679c2a 100644
(file)
--- a/
model.cc
+++ b/
model.cc
@@
-1509,8
+1509,8
@@
bool ModelChecker::release_seq_heads(const ModelAction *rf,
continue;
}
- /* Only writes can break release sequences */
- if (!act->is_write())
+ /* Only
non-RMW
writes can break release sequences */
+ if (!act->is_write()
|| act->is_rmw()
)
continue;
/* Check modification order */