github.com/wasilibs/wazerox@v0.0.0-20240124024944-4923be63ab5f/internal/integration_test/spectest/v2/testdata/endianness.json (about) 1 {"source_filename": "./endianness.wast", 2 "commands": [ 3 {"type": "module", "line": 1, "filename": "endianness.0.wasm"}, 4 {"type": "assert_return", "line": 133, "action": {"type": "invoke", "field": "i32_load16_s", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "4294967295"}]}, 5 {"type": "assert_return", "line": 134, "action": {"type": "invoke", "field": "i32_load16_s", "args": [{"type": "i32", "value": "4294963054"}]}, "expected": [{"type": "i32", "value": "4294963054"}]}, 6 {"type": "assert_return", "line": 135, "action": {"type": "invoke", "field": "i32_load16_s", "args": [{"type": "i32", "value": "42"}]}, "expected": [{"type": "i32", "value": "42"}]}, 7 {"type": "assert_return", "line": 136, "action": {"type": "invoke", "field": "i32_load16_s", "args": [{"type": "i32", "value": "12816"}]}, "expected": [{"type": "i32", "value": "12816"}]}, 8 {"type": "assert_return", "line": 138, "action": {"type": "invoke", "field": "i32_load16_u", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "65535"}]}, 9 {"type": "assert_return", "line": 139, "action": {"type": "invoke", "field": "i32_load16_u", "args": [{"type": "i32", "value": "4294963054"}]}, "expected": [{"type": "i32", "value": "61294"}]}, 10 {"type": "assert_return", "line": 140, "action": {"type": "invoke", "field": "i32_load16_u", "args": [{"type": "i32", "value": "42"}]}, "expected": [{"type": "i32", "value": "42"}]}, 11 {"type": "assert_return", "line": 141, "action": {"type": "invoke", "field": "i32_load16_u", "args": [{"type": "i32", "value": "51966"}]}, "expected": [{"type": "i32", "value": "51966"}]}, 12 {"type": "assert_return", "line": 143, "action": {"type": "invoke", "field": "i32_load", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "4294967295"}]}, 13 {"type": "assert_return", "line": 144, "action": {"type": "invoke", "field": "i32_load", "args": [{"type": "i32", "value": "4252543054"}]}, "expected": [{"type": "i32", "value": "4252543054"}]}, 14 {"type": "assert_return", "line": 145, "action": {"type": "invoke", "field": "i32_load", "args": [{"type": "i32", "value": "42424242"}]}, "expected": [{"type": "i32", "value": "42424242"}]}, 15 {"type": "assert_return", "line": 146, "action": {"type": "invoke", "field": "i32_load", "args": [{"type": "i32", "value": "2880249322"}]}, "expected": [{"type": "i32", "value": "2880249322"}]}, 16 {"type": "assert_return", "line": 148, "action": {"type": "invoke", "field": "i64_load16_s", "args": [{"type": "i64", "value": "18446744073709551615"}]}, "expected": [{"type": "i64", "value": "18446744073709551615"}]}, 17 {"type": "assert_return", "line": 149, "action": {"type": "invoke", "field": "i64_load16_s", "args": [{"type": "i64", "value": "18446744073709547374"}]}, "expected": [{"type": "i64", "value": "18446744073709547374"}]}, 18 {"type": "assert_return", "line": 150, "action": {"type": "invoke", "field": "i64_load16_s", "args": [{"type": "i64", "value": "42"}]}, "expected": [{"type": "i64", "value": "42"}]}, 19 {"type": "assert_return", "line": 151, "action": {"type": "invoke", "field": "i64_load16_s", "args": [{"type": "i64", "value": "12816"}]}, "expected": [{"type": "i64", "value": "12816"}]}, 20 {"type": "assert_return", "line": 153, "action": {"type": "invoke", "field": "i64_load16_u", "args": [{"type": "i64", "value": "18446744073709551615"}]}, "expected": [{"type": "i64", "value": "65535"}]}, 21 {"type": "assert_return", "line": 154, "action": {"type": "invoke", "field": "i64_load16_u", "args": [{"type": "i64", "value": "18446744073709547374"}]}, "expected": [{"type": "i64", "value": "61294"}]}, 22 {"type": "assert_return", "line": 155, "action": {"type": "invoke", "field": "i64_load16_u", "args": [{"type": "i64", "value": "42"}]}, "expected": [{"type": "i64", "value": "42"}]}, 23 {"type": "assert_return", "line": 156, "action": {"type": "invoke", "field": "i64_load16_u", "args": [{"type": "i64", "value": "51966"}]}, "expected": [{"type": "i64", "value": "51966"}]}, 24 {"type": "assert_return", "line": 158, "action": {"type": "invoke", "field": "i64_load32_s", "args": [{"type": "i64", "value": "18446744073709551615"}]}, "expected": [{"type": "i64", "value": "18446744073709551615"}]}, 25 {"type": "assert_return", "line": 159, "action": {"type": "invoke", "field": "i64_load32_s", "args": [{"type": "i64", "value": "18446744073667127374"}]}, "expected": [{"type": "i64", "value": "18446744073667127374"}]}, 26 {"type": "assert_return", "line": 160, "action": {"type": "invoke", "field": "i64_load32_s", "args": [{"type": "i64", "value": "42424242"}]}, "expected": [{"type": "i64", "value": "42424242"}]}, 27 {"type": "assert_return", "line": 161, "action": {"type": "invoke", "field": "i64_load32_s", "args": [{"type": "i64", "value": "305419896"}]}, "expected": [{"type": "i64", "value": "305419896"}]}, 28 {"type": "assert_return", "line": 163, "action": {"type": "invoke", "field": "i64_load32_u", "args": [{"type": "i64", "value": "18446744073709551615"}]}, "expected": [{"type": "i64", "value": "4294967295"}]}, 29 {"type": "assert_return", "line": 164, "action": {"type": "invoke", "field": "i64_load32_u", "args": [{"type": "i64", "value": "18446744073667127374"}]}, "expected": [{"type": "i64", "value": "4252543054"}]}, 30 {"type": "assert_return", "line": 165, "action": {"type": "invoke", "field": "i64_load32_u", "args": [{"type": "i64", "value": "42424242"}]}, "expected": [{"type": "i64", "value": "42424242"}]}, 31 {"type": "assert_return", "line": 166, "action": {"type": "invoke", "field": "i64_load32_u", "args": [{"type": "i64", "value": "2880249322"}]}, "expected": [{"type": "i64", "value": "2880249322"}]}, 32 {"type": "assert_return", "line": 168, "action": {"type": "invoke", "field": "i64_load", "args": [{"type": "i64", "value": "18446744073709551615"}]}, "expected": [{"type": "i64", "value": "18446744073709551615"}]}, 33 {"type": "assert_return", "line": 169, "action": {"type": "invoke", "field": "i64_load", "args": [{"type": "i64", "value": "18446744073667127374"}]}, "expected": [{"type": "i64", "value": "18446744073667127374"}]}, 34 {"type": "assert_return", "line": 170, "action": {"type": "invoke", "field": "i64_load", "args": [{"type": "i64", "value": "2880249322"}]}, "expected": [{"type": "i64", "value": "2880249322"}]}, 35 {"type": "assert_return", "line": 171, "action": {"type": "invoke", "field": "i64_load", "args": [{"type": "i64", "value": "12370766947463011818"}]}, "expected": [{"type": "i64", "value": "12370766947463011818"}]}, 36 {"type": "assert_return", "line": 173, "action": {"type": "invoke", "field": "f32_load", "args": [{"type": "f32", "value": "3212836864"}]}, "expected": [{"type": "f32", "value": "3212836864"}]}, 37 {"type": "assert_return", "line": 174, "action": {"type": "invoke", "field": "f32_load", "args": [{"type": "f32", "value": "1011494326"}]}, "expected": [{"type": "f32", "value": "1011494326"}]}, 38 {"type": "assert_return", "line": 175, "action": {"type": "invoke", "field": "f32_load", "args": [{"type": "f32", "value": "1166316389"}]}, "expected": [{"type": "f32", "value": "1166316389"}]}, 39 {"type": "assert_return", "line": 176, "action": {"type": "invoke", "field": "f32_load", "args": [{"type": "f32", "value": "2139095039"}]}, "expected": [{"type": "f32", "value": "2139095039"}]}, 40 {"type": "assert_return", "line": 178, "action": {"type": "invoke", "field": "f64_load", "args": [{"type": "f64", "value": "13830554455654793216"}]}, "expected": [{"type": "f64", "value": "13830554455654793216"}]}, 41 {"type": "assert_return", "line": 179, "action": {"type": "invoke", "field": "f64_load", "args": [{"type": "f64", "value": "4653144502447687399"}]}, "expected": [{"type": "f64", "value": "4653144502447687399"}]}, 42 {"type": "assert_return", "line": 180, "action": {"type": "invoke", "field": "f64_load", "args": [{"type": "f64", "value": "4691032041816096430"}]}, "expected": [{"type": "f64", "value": "4691032041816096430"}]}, 43 {"type": "assert_return", "line": 181, "action": {"type": "invoke", "field": "f64_load", "args": [{"type": "f64", "value": "9218868437227405311"}]}, "expected": [{"type": "f64", "value": "9218868437227405311"}]}, 44 {"type": "assert_return", "line": 184, "action": {"type": "invoke", "field": "i32_store16", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "65535"}]}, 45 {"type": "assert_return", "line": 185, "action": {"type": "invoke", "field": "i32_store16", "args": [{"type": "i32", "value": "4294963054"}]}, "expected": [{"type": "i32", "value": "61294"}]}, 46 {"type": "assert_return", "line": 186, "action": {"type": "invoke", "field": "i32_store16", "args": [{"type": "i32", "value": "42"}]}, "expected": [{"type": "i32", "value": "42"}]}, 47 {"type": "assert_return", "line": 187, "action": {"type": "invoke", "field": "i32_store16", "args": [{"type": "i32", "value": "51966"}]}, "expected": [{"type": "i32", "value": "51966"}]}, 48 {"type": "assert_return", "line": 189, "action": {"type": "invoke", "field": "i32_store", "args": [{"type": "i32", "value": "4294967295"}]}, "expected": [{"type": "i32", "value": "4294967295"}]}, 49 {"type": "assert_return", "line": 190, "action": {"type": "invoke", "field": "i32_store", "args": [{"type": "i32", "value": "4294963054"}]}, "expected": [{"type": "i32", "value": "4294963054"}]}, 50 {"type": "assert_return", "line": 191, "action": {"type": "invoke", "field": "i32_store", "args": [{"type": "i32", "value": "42424242"}]}, "expected": [{"type": "i32", "value": "42424242"}]}, 51 {"type": "assert_return", "line": 192, "action": {"type": "invoke", "field": "i32_store", "args": [{"type": "i32", "value": "3735931646"}]}, "expected": [{"type": "i32", "value": "3735931646"}]}, 52 {"type": "assert_return", "line": 194, "action": {"type": "invoke", "field": "i64_store16", "args": [{"type": "i64", "value": "18446744073709551615"}]}, "expected": [{"type": "i64", "value": "65535"}]}, 53 {"type": "assert_return", "line": 195, "action": {"type": "invoke", "field": "i64_store16", "args": [{"type": "i64", "value": "18446744073709547374"}]}, "expected": [{"type": "i64", "value": "61294"}]}, 54 {"type": "assert_return", "line": 196, "action": {"type": "invoke", "field": "i64_store16", "args": [{"type": "i64", "value": "42"}]}, "expected": [{"type": "i64", "value": "42"}]}, 55 {"type": "assert_return", "line": 197, "action": {"type": "invoke", "field": "i64_store16", "args": [{"type": "i64", "value": "51966"}]}, "expected": [{"type": "i64", "value": "51966"}]}, 56 {"type": "assert_return", "line": 199, "action": {"type": "invoke", "field": "i64_store32", "args": [{"type": "i64", "value": "18446744073709551615"}]}, "expected": [{"type": "i64", "value": "4294967295"}]}, 57 {"type": "assert_return", "line": 200, "action": {"type": "invoke", "field": "i64_store32", "args": [{"type": "i64", "value": "18446744073709547374"}]}, "expected": [{"type": "i64", "value": "4294963054"}]}, 58 {"type": "assert_return", "line": 201, "action": {"type": "invoke", "field": "i64_store32", "args": [{"type": "i64", "value": "42424242"}]}, "expected": [{"type": "i64", "value": "42424242"}]}, 59 {"type": "assert_return", "line": 202, "action": {"type": "invoke", "field": "i64_store32", "args": [{"type": "i64", "value": "3735931646"}]}, "expected": [{"type": "i64", "value": "3735931646"}]}, 60 {"type": "assert_return", "line": 204, "action": {"type": "invoke", "field": "i64_store", "args": [{"type": "i64", "value": "18446744073709551615"}]}, "expected": [{"type": "i64", "value": "18446744073709551615"}]}, 61 {"type": "assert_return", "line": 205, "action": {"type": "invoke", "field": "i64_store", "args": [{"type": "i64", "value": "18446744073667127374"}]}, "expected": [{"type": "i64", "value": "18446744073667127374"}]}, 62 {"type": "assert_return", "line": 206, "action": {"type": "invoke", "field": "i64_store", "args": [{"type": "i64", "value": "2880249322"}]}, "expected": [{"type": "i64", "value": "2880249322"}]}, 63 {"type": "assert_return", "line": 207, "action": {"type": "invoke", "field": "i64_store", "args": [{"type": "i64", "value": "12370766947463011818"}]}, "expected": [{"type": "i64", "value": "12370766947463011818"}]}, 64 {"type": "assert_return", "line": 209, "action": {"type": "invoke", "field": "f32_store", "args": [{"type": "f32", "value": "3212836864"}]}, "expected": [{"type": "f32", "value": "3212836864"}]}, 65 {"type": "assert_return", "line": 210, "action": {"type": "invoke", "field": "f32_store", "args": [{"type": "f32", "value": "1011494326"}]}, "expected": [{"type": "f32", "value": "1011494326"}]}, 66 {"type": "assert_return", "line": 211, "action": {"type": "invoke", "field": "f32_store", "args": [{"type": "f32", "value": "1166316389"}]}, "expected": [{"type": "f32", "value": "1166316389"}]}, 67 {"type": "assert_return", "line": 212, "action": {"type": "invoke", "field": "f32_store", "args": [{"type": "f32", "value": "2139095039"}]}, "expected": [{"type": "f32", "value": "2139095039"}]}, 68 {"type": "assert_return", "line": 214, "action": {"type": "invoke", "field": "f64_store", "args": [{"type": "f64", "value": "13830554455654793216"}]}, "expected": [{"type": "f64", "value": "13830554455654793216"}]}, 69 {"type": "assert_return", "line": 215, "action": {"type": "invoke", "field": "f64_store", "args": [{"type": "f64", "value": "4653144502447687399"}]}, "expected": [{"type": "f64", "value": "4653144502447687399"}]}, 70 {"type": "assert_return", "line": 216, "action": {"type": "invoke", "field": "f64_store", "args": [{"type": "f64", "value": "4691032041816096430"}]}, "expected": [{"type": "f64", "value": "4691032041816096430"}]}, 71 {"type": "assert_return", "line": 217, "action": {"type": "invoke", "field": "f64_store", "args": [{"type": "f64", "value": "9218868437227405311"}]}, "expected": [{"type": "f64", "value": "9218868437227405311"}]}]}