github.com/wasilibs/wazerox@v0.0.0-20240124024944-4923be63ab5f/internal/integration_test/engine/testdata/threads/sub.wat (about) 1 (module 2 (memory 1 1 shared) 3 4 (func (export "run32") 5 (i32.atomic.rmw.sub (i32.const 0) (i32.const 1)) 6 (drop) 7 ) 8 9 (func (export "run64") 10 (i64.atomic.rmw.sub (i32.const 0) (i64.const 1)) 11 (drop) 12 ) 13 14 (func (export "run32_8") 15 (i32.atomic.rmw8.sub_u (i32.const 0) (i32.const 1)) 16 (drop) 17 ) 18 19 (func (export "run32_16") 20 (i32.atomic.rmw16.sub_u (i32.const 0) (i32.const 1)) 21 (drop) 22 ) 23 24 (func (export "run64_8") 25 (i64.atomic.rmw8.sub_u (i32.const 0) (i64.const 1)) 26 (drop) 27 ) 28 29 (func (export "run64_16") 30 (i64.atomic.rmw16.sub_u (i32.const 0) (i64.const 1)) 31 (drop) 32 ) 33 34 (func (export "run64_32") 35 (i64.atomic.rmw32.sub_u (i32.const 0) (i64.const 1)) 36 (drop) 37 ) 38 )