Skip to content

[interpreter] implement atomic.fence, add wait/notify edge case tests #192

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

Merged
merged 2 commits into from
Oct 11, 2022

Conversation

conrad-watt
Copy link
Collaborator

No description provided.

@conrad-watt conrad-watt changed the title implement atomic.fence, add wait/notify edge case tests [interpreter] implement atomic.fence, add wait/notify edge case tests Sep 29, 2022
let mem = memory frame.inst (0l @@ e.at) in
let addr = I64_convert.extend_i32_u i in
(try
check_align addr ty sz e.at;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this symmetrically require shared as well?

Copy link
Collaborator Author

@conrad-watt conrad-watt Oct 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently we allow notify on unshared memory. It's only wait that's disallowed (see also #191).

Co-authored-by: Andreas Rossberg <[email protected]>
@ntindle
Copy link

ntindle commented Oct 9, 2022

I can’t tell you how thrilled I am to see this have progress

@conrad-watt
Copy link
Collaborator Author

@rossberg friendly ping

@conrad-watt conrad-watt merged commit 3f16038 into main Oct 11, 2022
@ntindle ntindle mentioned this pull request Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants