wa-lang.org/wazero@v1.0.2/internal/integration_test/spectest/v2/testdata/simd_load.json (about) 1 {"source_filename": "./simd_load.wast", 2 "commands": [ 3 {"type": "module", "line": 3, "filename": "simd_load.0.wasm"}, 4 {"type": "assert_return", "line": 11, "action": {"type": "invoke", "field": "v128.load", "args": []}, "expected": [{"type": "v128", "lane_type": "i8", "value": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"]}]}, 5 {"type": "assert_return", "line": 12, "action": {"type": "invoke", "field": "v128.load", "args": []}, "expected": [{"type": "v128", "lane_type": "i16", "value": ["256", "770", "1284", "1798", "2312", "2826", "3340", "3854"]}]}, 6 {"type": "assert_return", "line": 13, "action": {"type": "invoke", "field": "v128.load", "args": []}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["50462976", "117835012", "185207048", "252579084"]}]}, 7 {"type": "module", "line": 18, "filename": "simd_load.1.wasm"}, 8 {"type": "assert_return", "line": 24, "action": {"type": "invoke", "field": "as-i8x16_extract_lane_s-value/0", "args": []}, "expected": [{"type": "i32", "value": "0"}]}, 9 {"type": "module", "line": 26, "filename": "simd_load.2.wasm"}, 10 {"type": "assert_return", "line": 32, "action": {"type": "invoke", "field": "as-i8x16.eq-operand", "args": []}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["4294967295", "0", "0", "0"]}]}, 11 {"type": "module", "line": 34, "filename": "simd_load.3.wasm"}, 12 {"type": "assert_return", "line": 43, "action": {"type": "invoke", "field": "as-v128.not-operand", "args": []}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["4244504319", "4177132283", "4109760247", "4042388211"]}]}, 13 {"type": "assert_return", "line": 44, "action": {"type": "invoke", "field": "as-i8x16.all_true-operand", "args": []}, "expected": [{"type": "i32", "value": "0"}]}, 14 {"type": "module", "line": 46, "filename": "simd_load.4.wasm"}, 15 {"type": "assert_return", "line": 54, "action": {"type": "invoke", "field": "as-v128.bitselect-operand", "args": []}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["2880154539", "2863311530", "3149642683", "3148528554"]}]}, 16 {"type": "module", "line": 56, "filename": "simd_load.5.wasm"}, 17 {"type": "assert_return", "line": 62, "action": {"type": "invoke", "field": "as-i8x16.shl-operand", "args": []}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["1414812756", "1414812756", "1414812756", "1414812756"]}]}, 18 {"type": "module", "line": 64, "filename": "simd_load.6.wasm"}, 19 {"type": "assert_return", "line": 76, "action": {"type": "invoke", "field": "as-add/sub-operand", "args": []}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["2", "2", "2", "2"]}]}, 20 {"type": "module", "line": 78, "filename": "simd_load.7.wasm"}, 21 {"type": "assert_return", "line": 85, "action": {"type": "invoke", "field": "as-f32x4.mul-operand", "args": []}, "expected": [{"type": "v128", "lane_type": "f32", "value": ["1132462080", "1073741824", "1080452710", "3221225472"]}]}, 22 {"type": "module", "line": 87, "filename": "simd_load.8.wasm"}, 23 {"type": "assert_return", "line": 93, "action": {"type": "invoke", "field": "as-f32x4.abs-operand", "args": []}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["2147483647", "2147483647", "2147483647", "2147483647"]}]}, 24 {"type": "module", "line": 95, "filename": "simd_load.9.wasm"}, 25 {"type": "assert_return", "line": 102, "action": {"type": "invoke", "field": "as-f32x4.min-operand", "args": []}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["2863311530", "2863311530", "2863311530", "2863311530"]}]}, 26 {"type": "module", "line": 104, "filename": "simd_load.10.wasm"}, 27 {"type": "assert_return", "line": 110, "action": {"type": "invoke", "field": "as-i32x4.trunc_sat_f32x4_s-operand", "args": []}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["128", "1", "1", "4294967295"]}]}, 28 {"type": "module", "line": 112, "filename": "simd_load.11.wasm"}, 29 {"type": "assert_return", "line": 118, "action": {"type": "invoke", "field": "as-f32x4.convert_i32x4_u-operand", "args": []}, "expected": [{"type": "v128", "lane_type": "f32", "value": ["1073741824", "1073741824", "1073741824", "1073741824"]}]}, 30 {"type": "module", "line": 120, "filename": "simd_load.12.wasm"}, 31 {"type": "assert_return", "line": 127, "action": {"type": "invoke", "field": "as-i8x16.swizzle-operand", "args": []}, "expected": [{"type": "v128", "lane_type": "i8", "value": ["115", "114", "113", "112", "111", "110", "109", "108", "107", "106", "105", "104", "103", "102", "101", "100"]}]}, 32 {"type": "module", "line": 129, "filename": "simd_load.13.wasm"}, 33 {"type": "assert_return", "line": 135, "action": {"type": "invoke", "field": "as-br-value", "args": []}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["50462976", "117835012", "185207048", "252579084"]}]}, 34 {"type": "assert_malformed", "line": 141, "filename": "simd_load.14.wat", "text": "unknown operator", "module_type": "text"}, 35 {"type": "assert_malformed", "line": 148, "filename": "simd_load.15.wat", "text": "unknown operator", "module_type": "text"}, 36 {"type": "assert_malformed", "line": 155, "filename": "simd_load.16.wat", "text": "unknown operator", "module_type": "text"}, 37 {"type": "assert_invalid", "line": 166, "filename": "simd_load.17.wasm", "text": "type mismatch", "module_type": "binary"}, 38 {"type": "assert_invalid", "line": 170, "filename": "simd_load.18.wasm", "text": "type mismatch", "module_type": "binary"}, 39 {"type": "assert_invalid", "line": 174, "filename": "simd_load.19.wasm", "text": "type mismatch", "module_type": "binary"}, 40 {"type": "assert_invalid", "line": 182, "filename": "simd_load.20.wasm", "text": "unknown local 2", "module_type": "binary"}, 41 {"type": "assert_invalid", "line": 186, "filename": "simd_load.21.wasm", "text": "type mismatch", "module_type": "binary"}]}