镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

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

Merged
conrad-watt merged 2 commits into
mainfrom
more_tests_1
Oct 11, 2022
Merged

conrad-watt merged 2 commits into
mainfrom
more_tests_1

Conversation

@conrad-watt

Copy link
Copy Markdown
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
Comment thread interpreter/exec/eval.ml Resolved
Comment thread interpreter/exec/eval.ml
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
Copy Markdown
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?

@conrad-watt conrad-watt Oct 4, 2022 •

Copy link
Copy Markdown
Collaborator Author

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 <rossberg@dfinity.org>
@ntindle

ntindle commented Oct 9, 2022

Copy link
Copy Markdown

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

@conrad-watt

Copy link
Copy Markdown
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