-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for includes and functions in cat (#736)
Co-authored-by: Hernan Ponce de Leon <[email protected]>
- Loading branch information
1 parent
66e10ca
commit 479e85e
Showing
50 changed files
with
451 additions
and
1,271 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
let fr = rf^-1;co | ([R] \ [range(rf)]);loc;[W] | ||
|
||
let po-loc = po & loc | ||
|
||
let rfe = rf & ext | ||
let coe = co & ext | ||
let fre = fr & ext | ||
let rfi = rf & int | ||
let coi = co & int | ||
let fri = fr & int | ||
|
||
let fencerel(F) = po;[F];po |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// Herd7 uses cos.cat for generating coherence. | ||
// It usually also defines some derived relations used in many memory models. | ||
// Dartagnan does not need the former; the later is handled by basic.cat below. | ||
|
||
include "basic.cat" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.