LLVM: wasm64, atomics (exception handling) not really implemented #12
Description
Hi,
is anyone aware whether a working implementation of atomics instr. with target=wasm64 can be expected soon?
EH depends on it and some more.
Just many thanks for any information regarding this. I could not quickly find a better place to ask.
FUNC __wasm_init_memory with target=wasm64:
i32.const(67616) // of course NOT ;)
i32.const(0)
i32.const(1)
i32.atomic.rmw.cmpxchg(0 align 2)
if.op( extdatab @112)b1_len=11 b2_len=27 b1_stream_start=<4> b2_stream_start=11 stream_end=<26> depth=1 parent@0
i32.const(67616)
i32.const(1)
i64.const(-1)
i32.atomic.wait(0 align 2)
drop()
else.op()
i32.const(65536)
i32.const(0)
i32.const(8)
memory.init( extdatab @48)
i32.const(65544)
i32.const(0)
i32.const(16)
memory.init( extdatab @80)
i32.const(67616)
i32.const(2)
i32.atomic.store(0 align 2)
i32.const(67616)
i32.const(-1)
atomic.notify(0 align 2)
drop()
end()
data.drop()
data.drop()