-
Notifications
You must be signed in to change notification settings - Fork 392
Add more features for GenMC mode (RMW, fences, new printing options) #4566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
r? @RalfJung Next part of merging GenMC mode, but a bit less code this time ^^ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First round of feedback
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And now I also went over the tests
This comment has been minimized.
This comment has been minimized.
8c8a1d6
to
425f2af
Compare
LGTM, please squash. :) |
Reminder, once the PR becomes ready for a review, use |
- Support for atomic fences. - Support for atomic read-modify-write (RMW). - Add tests using RMW and fences. - Add options: - to disable weak memory effects in GenMC mode. - to print GenMC execution graphs. - to print GenMC output message. - Fix GenMC full rebuild issue and run configure step when commit changes. - Do cleanup. Co-authored-by: Ralf Jung <[email protected]>
44ce1ee
to
aceac27
Compare
@rustbot ready |
Thanks! I have added a patch for the release/acquire clock error messages. |
This PR is a followup to #4506
New features for GenMC mode include:
Throw an error when attempting to use a futex, since they are unsupported.acquire_clock
andrelease_clock
in GenMC mode.There is also some cleanup for changes from the last PR, including the switch to
std::process::abort
in tests.