Skip to content
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

SharedMemory & Atomics #3153

Merged
merged 28 commits into from
Nov 29, 2022
Merged

SharedMemory & Atomics #3153

merged 28 commits into from
Nov 29, 2022

Conversation

ptitSeb
Copy link
Contributor

@ptitSeb ptitSeb commented Aug 31, 2022

Description

Enabled SharedMemory and the Atomics extension proposal

For #3304

john-sharratt and others added 18 commits November 22, 2022 14:11
Fixed linter

Fixed clippy

Cleaned up some merge leftover
Checked align_check for x86_64 singlepass compiler (for #3161)"

Added proper handling of Unaligned Atomics in Singlepass Compiler (for #3161)

More fixes to x86_64 singlepass compiler (for #3161)
Removed public Imports::import_shared_memory and try to auto-initialize shared memory directly

Fixed clippy

Added Atomic Add/Sub/And/Or/Xor operator to Singlepass/AArch64 backend

Added atomic_xchg support for Singlepass/AArch64 backend

Finished all atomic access operator for Singlepass/Aarch64 backend
… the run/wasi cli command directly

Fixed linter

Fixed js build

Fixed linter
@ptitSeb ptitSeb requested a review from theduke November 24, 2022 15:04
lib/vm/src/instance/mod.rs Outdated Show resolved Hide resolved
lib/vm/src/instance/mod.rs Outdated Show resolved Hide resolved
lib/vm/src/instance/mod.rs Outdated Show resolved Hide resolved
lib/vm/src/instance/mod.rs Outdated Show resolved Hide resolved
lib/vm/src/instance/mod.rs Outdated Show resolved Hide resolved
lib/vm/src/instance/mod.rs Show resolved Hide resolved
lib/vm/src/instance/mod.rs Show resolved Hide resolved
tests/wast/wasmer/atomic_load.wast Show resolved Hide resolved
ptitSeb and others added 2 commits November 24, 2022 18:11
Co-authored-by: Christoph Herzog <a.github@omega-id.com>
Co-authored-by: Christoph Herzog <a.github@omega-id.com>
@ptitSeb ptitSeb requested a review from theduke November 25, 2022 12:07
@theduke
Copy link
Contributor

theduke commented Nov 25, 2022

I assume you validated the alignment checking for notify?

ps: I noticed that the official .wast suite doesn't seem to test notify alignment, so we might want to send them an issue to add that. (unless I missed it).

Copy link
Contributor

@theduke theduke left a comment

Choose a reason for hiding this comment

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

Thanks for the NotifyMap!

@ptitSeb
Copy link
Contributor Author

ptitSeb commented Nov 29, 2022

bors r+

@bors
Copy link
Contributor

bors bot commented Nov 29, 2022

Build succeeded:

  • Code lint

@bors bors bot merged commit 256755b into master Nov 29, 2022
@bors bors bot deleted the feat_sharedmemory branch November 29, 2022 14:59
@ptitSeb ptitSeb modified the milestones: v3.x, v3.1 Nov 30, 2022
@fschutt fschutt mentioned this pull request Dec 6, 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.

4 participants