Closed matetokodi closed 5 months ago
@clover2123 are you interested in atomic operation support?
It seems that threads
feature is still in draft status.
I think that we need to support official wasm release first.
For now, release 2.0 is the latest spec (https://webassembly.github.io/spec/core/index.html)
Is there any specific reason for implementing atomic
operations?
And are you going to update JITC support as well?
JIT has some atomic support now, and we wanted to try it, but no other reason. It is not important so this work can be postponed.
IMHO it's better to postpone this patch. We can merge it when it is really required later :)
Maybe we should close this issue.
This patch adds atomic read-modify-write operations to the interpreter:
The test included from https://github.com/WebAssembly/threads/blob/main/test/core/atomic.wast currently does not pass, because it includes the following instructions not implemented in this patch:
Excluding these, all other test cases pass.