diff options
Diffstat (limited to 'omegalib/examples/old_test/pufs4.oc-rt')
-rw-r--r-- | omegalib/examples/old_test/pufs4.oc-rt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/omegalib/examples/old_test/pufs4.oc-rt b/omegalib/examples/old_test/pufs4.oc-rt new file mode 100644 index 0000000..2c32c83 --- /dev/null +++ b/omegalib/examples/old_test/pufs4.oc-rt @@ -0,0 +1,26 @@ +# Omega Calculator v1.2 (based on Omega Library 1.2, August, 2000): +# # Calculate exposed reads for this code fragment +# # for i := 1 to n do +# # for j := 1 to m do +# # if p(i,j) >= 0 then a(i,j) = 1 +# # else a(i,j) = 0 +# # .... a(i,j) +# # +# +# symbolic p(2), n, m; +# +# R := { [ir,jr] : 1 <= ir <= n && 1 <= jr <= m }; +# +# W1 := { [iw,jw] : 1 <= iw <= n && 1 <= jw <= m && p(iw,jw) >= 0 }; +# +# W2 := { [iw,jw] : 1 <= iw <= n && 1 <= jw <= m && p(iw,jw) < 0 }; +# +# +# Exposed := R-W1-W2; +# +# +# Exposed; + +{[iw,jw] : FALSE } + +# |