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

Fix Atomic issue on Cranelift compiler not related to Notify/Wait opcodes #3162

Closed
ptitSeb opened this issue Aug 31, 2022 · 1 comment
Closed
Labels
bug Something isn't working priority-medium Medium priority issue
Milestone

Comments

@ptitSeb
Copy link
Contributor

ptitSeb commented Aug 31, 2022

Describe the bug

On feat_sharedmemory branch, enabling the threads::atomics test on the Cranelift compiler fail on multiple place, not related to the missing Wait/Notify opcodes. Most of the fails are

  • expected 'unaligned atomic', got 'RuntimeError: misaligned heap

wich seems to be a error label issue.

@ptitSeb ptitSeb added the bug Something isn't working label Aug 31, 2022
@ptitSeb ptitSeb mentioned this issue Aug 31, 2022
11 tasks
@ptitSeb ptitSeb added this to the v3.x milestone Aug 31, 2022
@syrusakbary syrusakbary added the priority-medium Medium priority issue label Sep 6, 2022
@ptitSeb ptitSeb modified the milestones: v3.x, v3.1 Nov 16, 2022
bors bot added a commit that referenced this issue Nov 29, 2022
3153: SharedMemory & Atomics r=ptitSeb a=ptitSeb

# Description
Enabled SharedMemory and the Atomics extension proposal

- [x] Enable Atomic extension by default
- [x] Fix "imports" tests #3154
- [x] Add function for memory.atomic.wait32, memory.atomic.wait64 and memory.atomic.notify opcodes #3155
- [x] Add support for the new wait/notify opcodes in Cranelift compiler #3156 
- [x] Add support for the new wait/notify opcodes in LLVM compiler #3157
- [x] Add support for atomic access opcodes in AArch64/Singlepass compiler #3159
- [x] Add support for the new wait/notify opcodes in Singlepass compiler #3158
- [x] Fix Atomic issues on x86_64 Singlepass compiler not related to Wait/Notify opcodes #3161
- [x] Fix Atomic issues on Cranelift compiler not related to Wait/Notify opcodes #3162
- [x] Fix Atomic issues on LLVM compiler not related to Wait/Notify opcodes #3163
- [x] Fix the ticket #3167 on Cranelift

For #3304 

Co-authored-by: John Sharratt's Shared Account <johnathan.sharratt@gmail.com>
Co-authored-by: ptitSeb <sebastien.chev@gmail.com>
Co-authored-by: Syrus Akbary <me@syrusakbary.com>
@ptitSeb
Copy link
Contributor Author

ptitSeb commented Dec 6, 2022

Merged

@ptitSeb ptitSeb closed this as completed Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-medium Medium priority issue
Projects
None yet
Development

No branches or pull requests

2 participants