{ "source_filename": "tests/testsuite/proposals/threads/atomic.wast", "commands": [ { "type": "module", "line": 3, "filename": "atomic.0.wasm", "module_type": "binary" }, { "type": "action", "line": 84, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "506097522914230528" } ] } }, { "type": "assert_return", "line": 86, "action": { "type": "invoke", "field": "i32.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "50462976" } ] }, { "type": "assert_return", "line": 87, "action": { "type": "invoke", "field": "i32.atomic.load", "args": [ { "type": "i32", "value": "4" } ] }, "expected": [ { "type": "i32", "value": "117835012" } ] }, { "type": "assert_return", "line": 89, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "506097522914230528" } ] }, { "type": "assert_return", "line": 91, "action": { "type": "invoke", "field": "i32.atomic.load8_u", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "assert_return", "line": 92, "action": { "type": "invoke", "field": "i32.atomic.load8_u", "args": [ { "type": "i32", "value": "5" } ] }, "expected": [ { "type": "i32", "value": "5" } ] }, { "type": "assert_return", "line": 94, "action": { "type": "invoke", "field": "i32.atomic.load16_u", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "256" } ] }, { "type": "assert_return", "line": 95, "action": { "type": "invoke", "field": "i32.atomic.load16_u", "args": [ { "type": "i32", "value": "6" } ] }, "expected": [ { "type": "i32", "value": "1798" } ] }, { "type": "assert_return", "line": 97, "action": { "type": "invoke", "field": "i64.atomic.load8_u", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "0" } ] }, { "type": "assert_return", "line": 98, "action": { "type": "invoke", "field": "i64.atomic.load8_u", "args": [ { "type": "i32", "value": "5" } ] }, "expected": [ { "type": "i64", "value": "5" } ] }, { "type": "assert_return", "line": 100, "action": { "type": "invoke", "field": "i64.atomic.load16_u", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "256" } ] }, { "type": "assert_return", "line": 101, "action": { "type": "invoke", "field": "i64.atomic.load16_u", "args": [ { "type": "i32", "value": "6" } ] }, "expected": [ { "type": "i64", "value": "1798" } ] }, { "type": "assert_return", "line": 103, "action": { "type": "invoke", "field": "i64.atomic.load32_u", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "50462976" } ] }, { "type": "assert_return", "line": 104, "action": { "type": "invoke", "field": "i64.atomic.load32_u", "args": [ { "type": "i32", "value": "4" } ] }, "expected": [ { "type": "i64", "value": "117835012" } ] }, { "type": "action", "line": 108, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "0" } ] } }, { "type": "assert_return", "line": 110, "action": { "type": "invoke", "field": "i32.atomic.store", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "-1122868" } ] }, "expected": [] }, { "type": "assert_return", "line": 111, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "4293844428" } ] }, { "type": "assert_return", "line": 113, "action": { "type": "invoke", "field": "i64.atomic.store", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "81985529216486895" } ] }, "expected": [] }, { "type": "assert_return", "line": 114, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "81985529216486895" } ] }, { "type": "assert_return", "line": 116, "action": { "type": "invoke", "field": "i32.atomic.store8", "args": [ { "type": "i32", "value": "1" }, { "type": "i32", "value": "66" } ] }, "expected": [] }, { "type": "assert_return", "line": 117, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "81985529216451311" } ] }, { "type": "assert_return", "line": 119, "action": { "type": "invoke", "field": "i32.atomic.store16", "args": [ { "type": "i32", "value": "4" }, { "type": "i32", "value": "34884" } ] }, "expected": [] }, { "type": "assert_return", "line": 120, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "82059046171656943" } ] }, { "type": "assert_return", "line": 122, "action": { "type": "invoke", "field": "i64.atomic.store8", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "153" } ] }, "expected": [] }, { "type": "assert_return", "line": 123, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "82059046171679215" } ] }, { "type": "assert_return", "line": 125, "action": { "type": "invoke", "field": "i64.atomic.store16", "args": [ { "type": "i32", "value": "4" }, { "type": "i64", "value": "51966" } ] }, "expected": [] }, { "type": "assert_return", "line": 126, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "82132412803029487" } ] }, { "type": "assert_return", "line": 128, "action": { "type": "invoke", "field": "i64.atomic.store32", "args": [ { "type": "i32", "value": "4" }, { "type": "i64", "value": "3735928559" } ] }, "expected": [] }, { "type": "assert_return", "line": 129, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "-2401053090302420497" } ] }, { "type": "action", "line": 133, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 134, "action": { "type": "invoke", "field": "i32.atomic.rmw.add", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "305419896" } ] }, "expected": [ { "type": "i32", "value": "286331153" } ] }, { "type": "assert_return", "line": 135, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938552723337" } ] }, { "type": "action", "line": 137, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 138, "action": { "type": "invoke", "field": "i64.atomic.rmw.add", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "72340172854919682" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303441" } ] }, { "type": "assert_return", "line": 139, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1302123111102223123" } ] }, { "type": "action", "line": 141, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 142, "action": { "type": "invoke", "field": "i32.atomic.rmw8.add_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "-842150451" } ] }, "expected": [ { "type": "i32", "value": "17" } ] }, { "type": "assert_return", "line": 143, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303646" } ] }, { "type": "action", "line": 145, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 146, "action": { "type": "invoke", "field": "i32.atomic.rmw16.add_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "-889271554" } ] }, "expected": [ { "type": "i32", "value": "4369" } ] }, { "type": "assert_return", "line": 147, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247355407" } ] }, { "type": "action", "line": 149, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 150, "action": { "type": "invoke", "field": "i64.atomic.rmw8.add_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "4774451407313060418" } ] }, "expected": [ { "type": "i64", "value": "17" } ] }, { "type": "assert_return", "line": 151, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303507" } ] }, { "type": "action", "line": 153, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 154, "action": { "type": "invoke", "field": "i64.atomic.rmw16.add_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "-4688318750159552785" } ] }, "expected": [ { "type": "i64", "value": "4369" } ] }, { "type": "assert_return", "line": 155, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247352320" } ] }, { "type": "action", "line": 157, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 158, "action": { "type": "invoke", "field": "i64.atomic.rmw32.add_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "-3838290751524198683" } ] }, "expected": [ { "type": "i64", "value": "286331153" } ] }, { "type": "assert_return", "line": 159, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782941648599030" } ] }, { "type": "action", "line": 163, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 164, "action": { "type": "invoke", "field": "i32.atomic.rmw.sub", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "305419896" } ] }, "expected": [ { "type": "i32", "value": "286331153" } ] }, { "type": "assert_return", "line": 165, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782942236850841" } ] }, { "type": "action", "line": 167, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 168, "action": { "type": "invoke", "field": "i64.atomic.rmw.sub", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "72340172854919682" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303441" } ] }, { "type": "assert_return", "line": 169, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1157442765392383759" } ] }, { "type": "action", "line": 171, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 172, "action": { "type": "invoke", "field": "i32.atomic.rmw8.sub_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "-842150451" } ] }, "expected": [ { "type": "i32", "value": "17" } ] }, { "type": "assert_return", "line": 173, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303492" } ] }, { "type": "action", "line": 175, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 176, "action": { "type": "invoke", "field": "i32.atomic.rmw16.sub_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "-889271554" } ] }, "expected": [ { "type": "i32", "value": "4369" } ] }, { "type": "assert_return", "line": 177, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247317011" } ] }, { "type": "action", "line": 179, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 180, "action": { "type": "invoke", "field": "i64.atomic.rmw8.sub_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "4774451407313060418" } ] }, "expected": [ { "type": "i64", "value": "17" } ] }, { "type": "assert_return", "line": 181, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303631" } ] }, { "type": "action", "line": 183, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 184, "action": { "type": "invoke", "field": "i64.atomic.rmw16.sub_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "-4688318750159552785" } ] }, "expected": [ { "type": "i64", "value": "4369" } ] }, { "type": "assert_return", "line": 185, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247320098" } ] }, { "type": "action", "line": 187, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 188, "action": { "type": "invoke", "field": "i64.atomic.rmw32.sub_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "-3838290751524198683" } ] }, "expected": [ { "type": "i64", "value": "286331153" } ] }, { "type": "assert_return", "line": 189, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782939140975148" } ] }, { "type": "action", "line": 193, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 194, "action": { "type": "invoke", "field": "i32.atomic.rmw.and", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "305419896" } ] }, "expected": [ { "type": "i32", "value": "286331153" } ] }, { "type": "assert_return", "line": 195, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938230460432" } ] }, { "type": "action", "line": 197, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 198, "action": { "type": "invoke", "field": "i64.atomic.rmw.and", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "72340172854919682" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303441" } ] }, { "type": "assert_return", "line": 199, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "72340172821233664" } ] }, { "type": "action", "line": 201, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 202, "action": { "type": "invoke", "field": "i32.atomic.rmw8.and_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "-842150451" } ] }, "expected": [ { "type": "i32", "value": "17" } ] }, { "type": "assert_return", "line": 203, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303425" } ] }, { "type": "action", "line": 205, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 206, "action": { "type": "invoke", "field": "i32.atomic.rmw16.and_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "-889271554" } ] }, "expected": [ { "type": "i32", "value": "4369" } ] }, { "type": "assert_return", "line": 207, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247299088" } ] }, { "type": "action", "line": 209, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 210, "action": { "type": "invoke", "field": "i64.atomic.rmw8.and_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "4774451407313060418" } ] }, "expected": [ { "type": "i64", "value": "17" } ] }, { "type": "assert_return", "line": 211, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303424" } ] }, { "type": "action", "line": 213, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 214, "action": { "type": "invoke", "field": "i64.atomic.rmw16.and_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "-4688318750159552785" } ] }, "expected": [ { "type": "i64", "value": "4369" } ] }, { "type": "assert_return", "line": 215, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303169" } ] }, { "type": "action", "line": 217, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 218, "action": { "type": "invoke", "field": "i64.atomic.rmw32.and_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "-3838290751524198683" } ] }, "expected": [ { "type": "i64", "value": "286331153" } ] }, { "type": "assert_return", "line": 219, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782937962086401" } ] }, { "type": "action", "line": 223, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 224, "action": { "type": "invoke", "field": "i32.atomic.rmw.or", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "305419896" } ] }, "expected": [ { "type": "i32", "value": "286331153" } ] }, { "type": "assert_return", "line": 225, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938283235193" } ] }, { "type": "action", "line": 227, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 228, "action": { "type": "invoke", "field": "i64.atomic.rmw.or", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "72340172854919682" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303441" } ] }, { "type": "assert_return", "line": 229, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938280989459" } ] }, { "type": "action", "line": 231, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 232, "action": { "type": "invoke", "field": "i32.atomic.rmw8.or_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "-842150451" } ] }, "expected": [ { "type": "i32", "value": "17" } ] }, { "type": "assert_return", "line": 233, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303645" } ] }, { "type": "action", "line": 235, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 236, "action": { "type": "invoke", "field": "i32.atomic.rmw16.or_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "-889271554" } ] }, "expected": [ { "type": "i32", "value": "4369" } ] }, { "type": "assert_return", "line": 237, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247355391" } ] }, { "type": "action", "line": 239, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 240, "action": { "type": "invoke", "field": "i64.atomic.rmw8.or_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "4774451407313060418" } ] }, "expected": [ { "type": "i64", "value": "17" } ] }, { "type": "assert_return", "line": 241, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303507" } ] }, { "type": "action", "line": 243, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 244, "action": { "type": "invoke", "field": "i64.atomic.rmw16.or_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "-4688318750159552785" } ] }, "expected": [ { "type": "i64", "value": "4369" } ] }, { "type": "assert_return", "line": 245, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247348223" } ] }, { "type": "action", "line": 247, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 248, "action": { "type": "invoke", "field": "i64.atomic.rmw32.or_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "-3838290751524198683" } ] }, "expected": [ { "type": "i64", "value": "286331153" } ] }, { "type": "assert_return", "line": 249, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782941647484917" } ] }, { "type": "action", "line": 253, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 254, "action": { "type": "invoke", "field": "i32.atomic.rmw.xor", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "305419896" } ] }, "expected": [ { "type": "i32", "value": "286331153" } ] }, { "type": "assert_return", "line": 255, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938013747049" } ] }, { "type": "action", "line": 257, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 258, "action": { "type": "invoke", "field": "i64.atomic.rmw.xor", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "72340172854919682" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303441" } ] }, { "type": "assert_return", "line": 259, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1157442765459755795" } ] }, { "type": "action", "line": 261, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 262, "action": { "type": "invoke", "field": "i32.atomic.rmw8.xor_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "-842150451" } ] }, "expected": [ { "type": "i32", "value": "17" } ] }, { "type": "assert_return", "line": 263, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303644" } ] }, { "type": "action", "line": 265, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 266, "action": { "type": "invoke", "field": "i32.atomic.rmw16.xor_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "-889271554" } ] }, "expected": [ { "type": "i32", "value": "4369" } ] }, { "type": "assert_return", "line": 267, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247355375" } ] }, { "type": "action", "line": 269, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 270, "action": { "type": "invoke", "field": "i64.atomic.rmw8.xor_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "4774451407313060418" } ] }, "expected": [ { "type": "i64", "value": "17" } ] }, { "type": "assert_return", "line": 271, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303507" } ] }, { "type": "action", "line": 273, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 274, "action": { "type": "invoke", "field": "i64.atomic.rmw16.xor_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "-4688318750159552785" } ] }, "expected": [ { "type": "i64", "value": "4369" } ] }, { "type": "assert_return", "line": 275, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247344126" } ] }, { "type": "action", "line": 277, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 278, "action": { "type": "invoke", "field": "i64.atomic.rmw32.xor_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "-3838290751524198683" } ] }, "expected": [ { "type": "i64", "value": "286331153" } ] }, { "type": "assert_return", "line": 279, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782941646370804" } ] }, { "type": "action", "line": 283, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 284, "action": { "type": "invoke", "field": "i32.atomic.rmw.xchg", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "305419896" } ] }, "expected": [ { "type": "i32", "value": "286331153" } ] }, { "type": "assert_return", "line": 285, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938266392184" } ] }, { "type": "action", "line": 287, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 288, "action": { "type": "invoke", "field": "i64.atomic.rmw.xchg", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "72340172854919682" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303441" } ] }, { "type": "assert_return", "line": 289, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "72340172854919682" } ] }, { "type": "action", "line": 291, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 292, "action": { "type": "invoke", "field": "i32.atomic.rmw8.xchg_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "-842150451" } ] }, "expected": [ { "type": "i32", "value": "17" } ] }, { "type": "assert_return", "line": 293, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303629" } ] }, { "type": "action", "line": 295, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 296, "action": { "type": "invoke", "field": "i32.atomic.rmw16.xchg_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "-889271554" } ] }, "expected": [ { "type": "i32", "value": "4369" } ] }, { "type": "assert_return", "line": 297, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247351038" } ] }, { "type": "action", "line": 299, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 300, "action": { "type": "invoke", "field": "i64.atomic.rmw8.xchg_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "4774451407313060418" } ] }, "expected": [ { "type": "i64", "value": "17" } ] }, { "type": "assert_return", "line": 301, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303490" } ] }, { "type": "action", "line": 303, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 304, "action": { "type": "invoke", "field": "i64.atomic.rmw16.xchg_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "-4688318750159552785" } ] }, "expected": [ { "type": "i64", "value": "4369" } ] }, { "type": "assert_return", "line": 305, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247347951" } ] }, { "type": "action", "line": 307, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 308, "action": { "type": "invoke", "field": "i64.atomic.rmw32.xchg_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "-3838290751524198683" } ] }, "expected": [ { "type": "i64", "value": "286331153" } ] }, { "type": "assert_return", "line": 309, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782941362267877" } ] }, { "type": "action", "line": 313, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 314, "action": { "type": "invoke", "field": "i32.atomic.rmw.cmpxchg", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "0" }, { "type": "i32", "value": "305419896" } ] }, "expected": [ { "type": "i32", "value": "286331153" } ] }, { "type": "assert_return", "line": 315, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303441" } ] }, { "type": "action", "line": 317, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 318, "action": { "type": "invoke", "field": "i64.atomic.rmw.cmpxchg", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "0" }, { "type": "i64", "value": "72340172854919682" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303441" } ] }, { "type": "assert_return", "line": 319, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303441" } ] }, { "type": "action", "line": 321, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 322, "action": { "type": "invoke", "field": "i32.atomic.rmw8.cmpxchg_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "0" }, { "type": "i32", "value": "-842150451" } ] }, "expected": [ { "type": "i32", "value": "17" } ] }, { "type": "assert_return", "line": 323, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303441" } ] }, { "type": "action", "line": 325, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 326, "action": { "type": "invoke", "field": "i32.atomic.rmw16.cmpxchg_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "0" }, { "type": "i32", "value": "-889271554" } ] }, "expected": [ { "type": "i32", "value": "4369" } ] }, { "type": "assert_return", "line": 327, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303441" } ] }, { "type": "action", "line": 329, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 330, "action": { "type": "invoke", "field": "i64.atomic.rmw8.cmpxchg_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "0" }, { "type": "i64", "value": "4774451407313060418" } ] }, "expected": [ { "type": "i64", "value": "17" } ] }, { "type": "assert_return", "line": 331, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303441" } ] }, { "type": "action", "line": 333, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 334, "action": { "type": "invoke", "field": "i64.atomic.rmw16.cmpxchg_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "0" }, { "type": "i64", "value": "-4688318750159552785" } ] }, "expected": [ { "type": "i64", "value": "4369" } ] }, { "type": "assert_return", "line": 335, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303441" } ] }, { "type": "action", "line": 337, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 338, "action": { "type": "invoke", "field": "i64.atomic.rmw32.cmpxchg_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "0" }, { "type": "i64", "value": "-3838290751524198683" } ] }, "expected": [ { "type": "i64", "value": "286331153" } ] }, { "type": "assert_return", "line": 339, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303441" } ] }, { "type": "action", "line": 343, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 344, "action": { "type": "invoke", "field": "i32.atomic.rmw.cmpxchg", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "286331153" }, { "type": "i32", "value": "305419896" } ] }, "expected": [ { "type": "i32", "value": "286331153" } ] }, { "type": "assert_return", "line": 345, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938266392184" } ] }, { "type": "action", "line": 347, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 348, "action": { "type": "invoke", "field": "i64.atomic.rmw.cmpxchg", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "1229782938247303441" }, { "type": "i64", "value": "72340172854919682" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303441" } ] }, { "type": "assert_return", "line": 349, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "72340172854919682" } ] }, { "type": "action", "line": 351, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 352, "action": { "type": "invoke", "field": "i32.atomic.rmw8.cmpxchg_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "17" }, { "type": "i32", "value": "-842150451" } ] }, "expected": [ { "type": "i32", "value": "17" } ] }, { "type": "assert_return", "line": 353, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303629" } ] }, { "type": "action", "line": 355, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 356, "action": { "type": "invoke", "field": "i32.atomic.rmw16.cmpxchg_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "4369" }, { "type": "i32", "value": "-889271554" } ] }, "expected": [ { "type": "i32", "value": "4369" } ] }, { "type": "assert_return", "line": 357, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247351038" } ] }, { "type": "action", "line": 359, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 360, "action": { "type": "invoke", "field": "i64.atomic.rmw8.cmpxchg_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "17" }, { "type": "i64", "value": "4774451407313060418" } ] }, "expected": [ { "type": "i64", "value": "17" } ] }, { "type": "assert_return", "line": 361, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247303490" } ] }, { "type": "action", "line": 363, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 364, "action": { "type": "invoke", "field": "i64.atomic.rmw16.cmpxchg_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "4369" }, { "type": "i64", "value": "-4688318750159552785" } ] }, "expected": [ { "type": "i64", "value": "4369" } ] }, { "type": "assert_return", "line": 365, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782938247347951" } ] }, { "type": "action", "line": 367, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "1229782938247303441" } ] } }, { "type": "assert_return", "line": 368, "action": { "type": "invoke", "field": "i64.atomic.rmw32.cmpxchg_u", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "286331153" }, { "type": "i64", "value": "-3838290751524198683" } ] }, "expected": [ { "type": "i64", "value": "286331153" } ] }, { "type": "assert_return", "line": 369, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i64", "value": "1229782941362267877" } ] }, { "type": "assert_trap", "line": 374, "action": { "type": "invoke", "field": "i32.atomic.load", "args": [ { "type": "i32", "value": "1" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 375, "action": { "type": "invoke", "field": "i64.atomic.load", "args": [ { "type": "i32", "value": "1" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 376, "action": { "type": "invoke", "field": "i32.atomic.load16_u", "args": [ { "type": "i32", "value": "1" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 377, "action": { "type": "invoke", "field": "i64.atomic.load16_u", "args": [ { "type": "i32", "value": "1" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 378, "action": { "type": "invoke", "field": "i64.atomic.load32_u", "args": [ { "type": "i32", "value": "1" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 379, "action": { "type": "invoke", "field": "i32.atomic.store", "args": [ { "type": "i32", "value": "1" }, { "type": "i32", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 380, "action": { "type": "invoke", "field": "i64.atomic.store", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 381, "action": { "type": "invoke", "field": "i32.atomic.store16", "args": [ { "type": "i32", "value": "1" }, { "type": "i32", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 382, "action": { "type": "invoke", "field": "i64.atomic.store16", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 383, "action": { "type": "invoke", "field": "i64.atomic.store32", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 384, "action": { "type": "invoke", "field": "i32.atomic.rmw.add", "args": [ { "type": "i32", "value": "1" }, { "type": "i32", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 385, "action": { "type": "invoke", "field": "i64.atomic.rmw.add", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 386, "action": { "type": "invoke", "field": "i32.atomic.rmw16.add_u", "args": [ { "type": "i32", "value": "1" }, { "type": "i32", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 387, "action": { "type": "invoke", "field": "i64.atomic.rmw16.add_u", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 388, "action": { "type": "invoke", "field": "i64.atomic.rmw32.add_u", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 389, "action": { "type": "invoke", "field": "i32.atomic.rmw.sub", "args": [ { "type": "i32", "value": "1" }, { "type": "i32", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 390, "action": { "type": "invoke", "field": "i64.atomic.rmw.sub", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 391, "action": { "type": "invoke", "field": "i32.atomic.rmw16.sub_u", "args": [ { "type": "i32", "value": "1" }, { "type": "i32", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 392, "action": { "type": "invoke", "field": "i64.atomic.rmw16.sub_u", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 393, "action": { "type": "invoke", "field": "i64.atomic.rmw32.sub_u", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 394, "action": { "type": "invoke", "field": "i32.atomic.rmw.and", "args": [ { "type": "i32", "value": "1" }, { "type": "i32", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 395, "action": { "type": "invoke", "field": "i64.atomic.rmw.and", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 396, "action": { "type": "invoke", "field": "i32.atomic.rmw16.and_u", "args": [ { "type": "i32", "value": "1" }, { "type": "i32", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 397, "action": { "type": "invoke", "field": "i64.atomic.rmw16.and_u", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 398, "action": { "type": "invoke", "field": "i64.atomic.rmw32.and_u", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 399, "action": { "type": "invoke", "field": "i32.atomic.rmw.or", "args": [ { "type": "i32", "value": "1" }, { "type": "i32", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 400, "action": { "type": "invoke", "field": "i64.atomic.rmw.or", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 401, "action": { "type": "invoke", "field": "i32.atomic.rmw16.or_u", "args": [ { "type": "i32", "value": "1" }, { "type": "i32", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 402, "action": { "type": "invoke", "field": "i64.atomic.rmw16.or_u", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 403, "action": { "type": "invoke", "field": "i64.atomic.rmw32.or_u", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 404, "action": { "type": "invoke", "field": "i32.atomic.rmw.xor", "args": [ { "type": "i32", "value": "1" }, { "type": "i32", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 405, "action": { "type": "invoke", "field": "i64.atomic.rmw.xor", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 406, "action": { "type": "invoke", "field": "i32.atomic.rmw16.xor_u", "args": [ { "type": "i32", "value": "1" }, { "type": "i32", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 407, "action": { "type": "invoke", "field": "i64.atomic.rmw16.xor_u", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 408, "action": { "type": "invoke", "field": "i64.atomic.rmw32.xor_u", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 409, "action": { "type": "invoke", "field": "i32.atomic.rmw.xchg", "args": [ { "type": "i32", "value": "1" }, { "type": "i32", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 410, "action": { "type": "invoke", "field": "i64.atomic.rmw.xchg", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 411, "action": { "type": "invoke", "field": "i32.atomic.rmw16.xchg_u", "args": [ { "type": "i32", "value": "1" }, { "type": "i32", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 412, "action": { "type": "invoke", "field": "i64.atomic.rmw16.xchg_u", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 413, "action": { "type": "invoke", "field": "i64.atomic.rmw32.xchg_u", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 414, "action": { "type": "invoke", "field": "i32.atomic.rmw.cmpxchg", "args": [ { "type": "i32", "value": "1" }, { "type": "i32", "value": "0" }, { "type": "i32", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 415, "action": { "type": "invoke", "field": "i64.atomic.rmw.cmpxchg", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 416, "action": { "type": "invoke", "field": "i32.atomic.rmw16.cmpxchg_u", "args": [ { "type": "i32", "value": "1" }, { "type": "i32", "value": "0" }, { "type": "i32", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 417, "action": { "type": "invoke", "field": "i64.atomic.rmw16.cmpxchg_u", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "assert_trap", "line": 418, "action": { "type": "invoke", "field": "i64.atomic.rmw32.cmpxchg_u", "args": [ { "type": "i32", "value": "1" }, { "type": "i64", "value": "0" }, { "type": "i64", "value": "0" } ] }, "text": "unaligned atomic" }, { "type": "module", "line": 420, "filename": "atomic.1.wasm", "module_type": "binary" }, { "type": "action", "line": 433, "action": { "type": "invoke", "field": "init", "args": [ { "type": "i64", "value": "281474976710655" } ] } }, { "type": "assert_return", "line": 434, "action": { "type": "invoke", "field": "memory.atomic.wait32", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "0" }, { "type": "i64", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "1" } ] }, { "type": "assert_return", "line": 435, "action": { "type": "invoke", "field": "memory.atomic.wait64", "args": [ { "type": "i32", "value": "0" }, { "type": "i64", "value": "0" }, { "type": "i64", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "1" } ] }, { "type": "assert_return", "line": 436, "action": { "type": "invoke", "field": "memory.atomic.notify", "args": [ { "type": "i32", "value": "0" }, { "type": "i32", "value": "0" } ] }, "expected": [ { "type": "i32", "value": "0" } ] }, { "type": "module", "line": 439, "filename": "atomic.2.wasm", "module_type": "binary" }, { "type": "assert_invalid", "line": 492, "filename": "atomic.3.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 493, "filename": "atomic.4.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 494, "filename": "atomic.5.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 495, "filename": "atomic.6.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 496, "filename": "atomic.7.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 497, "filename": "atomic.8.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 498, "filename": "atomic.9.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 499, "filename": "atomic.10.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 500, "filename": "atomic.11.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 501, "filename": "atomic.12.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 502, "filename": "atomic.13.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 503, "filename": "atomic.14.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 504, "filename": "atomic.15.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 505, "filename": "atomic.16.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 506, "filename": "atomic.17.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 507, "filename": "atomic.18.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 508, "filename": "atomic.19.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 509, "filename": "atomic.20.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 510, "filename": "atomic.21.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 511, "filename": "atomic.22.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 512, "filename": "atomic.23.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 513, "filename": "atomic.24.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 514, "filename": "atomic.25.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 515, "filename": "atomic.26.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 516, "filename": "atomic.27.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 517, "filename": "atomic.28.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 518, "filename": "atomic.29.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 519, "filename": "atomic.30.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 520, "filename": "atomic.31.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 521, "filename": "atomic.32.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 522, "filename": "atomic.33.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 523, "filename": "atomic.34.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 524, "filename": "atomic.35.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 525, "filename": "atomic.36.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 526, "filename": "atomic.37.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 527, "filename": "atomic.38.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 528, "filename": "atomic.39.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 529, "filename": "atomic.40.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 530, "filename": "atomic.41.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 531, "filename": "atomic.42.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 532, "filename": "atomic.43.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 533, "filename": "atomic.44.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 534, "filename": "atomic.45.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 535, "filename": "atomic.46.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 536, "filename": "atomic.47.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 537, "filename": "atomic.48.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 538, "filename": "atomic.49.wasm", "module_type": "binary", "text": "unknown memory" }, { "type": "assert_invalid", "line": 539, "filename": "atomic.50.wasm", "module_type": "binary", "text": "unknown memory" } ] }