blob: 0eed390a4397c3f01a8b25026e38a0ce459f3fbf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
(module
(import "env" "memory" (memory $memory (shared 256 256)))
(data (get_global $__memory_base) "threads.asm.js")
(import "env" "__memory_base" (global $__memory_base i32))
(export "test" (func $test))
(func $test (; 0 ;) (; has Stack IR ;)
(local $0 i32)
(drop
(i32.atomic.load
(i32.const 4916)
)
)
(drop
(i32.atomic.rmw.xor
(i32.atomic.rmw.or
(i32.atomic.rmw.and
(i32.atomic.rmw.sub
(i32.atomic.rmw.add
(i32.atomic.rmw.cmpxchg
(block (result i32)
(i32.atomic.store
(i32.atomic.load16_u
(i32.const 2458)
)
(i32.const 0)
)
(i32.atomic.rmw.xchg
(get_local $0)
(i32.const 1)
)
)
(i32.const 1)
(i32.const 2)
)
(i32.const 0)
)
(i32.const 0)
)
(i32.const 0)
)
(i32.const 0)
)
(i32.const 0)
)
)
(drop
(i32.atomic.rmw.xor
(i32.const 4096)
(i32.const 0)
)
)
(drop
(i32.atomic.rmw16_u.xor
(i32.const 2048)
(i32.const 0)
)
)
(drop
(i32.atomic.rmw8_u.cmpxchg
(i32.atomic.rmw8_u.cmpxchg
(i32.atomic.rmw8_u.xor
(i32.const 1024)
(i32.const 0)
)
(i32.const 1)
(i32.const 2)
)
(i32.const 1)
(i32.const 2)
)
)
)
)
|