github.com/wasilibs/wazerox@v0.0.0-20240124024944-4923be63ab5f/internal/integration_test/spectest/v2/testdata/simd_load_zero.json (about) 1 {"source_filename": "./simd_load_zero.wast", 2 "commands": [ 3 {"type": "module", "line": 3, "filename": "simd_load_zero.0.wasm"}, 4 {"type": "assert_return", "line": 62, "action": {"type": "invoke", "field": "v128.load32_zero", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["50462976", "0", "0", "0"]}]}, 5 {"type": "assert_return", "line": 63, "action": {"type": "invoke", "field": "v128.load64_zero", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "v128", "lane_type": "i64", "value": ["506097522914230528", "0"]}]}, 6 {"type": "assert_return", "line": 64, "action": {"type": "invoke", "field": "v128.load32_zero", "args": [{"type": "i32", "value": "10"}]}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["218893066", "0", "0", "0"]}]}, 7 {"type": "assert_return", "line": 65, "action": {"type": "invoke", "field": "v128.load64_zero", "args": [{"type": "i32", "value": "10"}]}, "expected": [{"type": "v128", "lane_type": "i64", "value": ["9331474980934519562", "0"]}]}, 8 {"type": "assert_return", "line": 66, "action": {"type": "invoke", "field": "v128.load32_zero", "args": [{"type": "i32", "value": "20"}]}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["2273740164", "0", "0", "0"]}]}, 9 {"type": "assert_return", "line": 67, "action": {"type": "invoke", "field": "v128.load64_zero", "args": [{"type": "i32", "value": "20"}]}, "expected": [{"type": "v128", "lane_type": "i64", "value": ["151219482297732", "0"]}]}, 10 {"type": "assert_return", "line": 70, "action": {"type": "invoke", "field": "v128.load32_zero_const0", "args": []}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["50462976", "0", "0", "0"]}]}, 11 {"type": "assert_return", "line": 71, "action": {"type": "invoke", "field": "v128.load64_zero_const8", "args": []}, "expected": [{"type": "v128", "lane_type": "i64", "value": ["1084818905618843912", "0"]}]}, 12 {"type": "assert_return", "line": 75, "action": {"type": "invoke", "field": "v128.load32_zero_offset0", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["50462976", "0", "0", "0"]}]}, 13 {"type": "assert_return", "line": 76, "action": {"type": "invoke", "field": "v128.load32_zero_align1", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["67305985", "0", "0", "0"]}]}, 14 {"type": "assert_return", "line": 77, "action": {"type": "invoke", "field": "v128.load32_zero_offset0_align1", "args": [{"type": "i32", "value": "2"}]}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["84148994", "0", "0", "0"]}]}, 15 {"type": "assert_return", "line": 78, "action": {"type": "invoke", "field": "v128.load32_zero_offset10_align4", "args": [{"type": "i32", "value": "3"}]}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["2148470285", "0", "0", "0"]}]}, 16 {"type": "assert_return", "line": 81, "action": {"type": "invoke", "field": "v128.load64_zero_offset0", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "v128", "lane_type": "i64", "value": ["506097522914230528", "0"]}]}, 17 {"type": "assert_return", "line": 82, "action": {"type": "invoke", "field": "v128.load64_zero_align1", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "v128", "lane_type": "i64", "value": ["578437695752307201", "0"]}]}, 18 {"type": "assert_return", "line": 83, "action": {"type": "invoke", "field": "v128.load64_zero_offset0_align1", "args": [{"type": "i32", "value": "2"}]}, "expected": [{"type": "v128", "lane_type": "i64", "value": ["650777868590383874", "0"]}]}, 19 {"type": "assert_return", "line": 84, "action": {"type": "invoke", "field": "v128.load64_zero_offset10_align4", "args": [{"type": "i32", "value": "3"}]}, "expected": [{"type": "v128", "lane_type": "i64", "value": ["9548619127666445837", "0"]}]}, 20 {"type": "assert_return", "line": 85, "action": {"type": "invoke", "field": "v128.load64_zero_offset20_align8", "args": [{"type": "i32", "value": "4"}]}, "expected": [{"type": "v128", "lane_type": "i64", "value": ["35208", "0"]}]}, 21 {"type": "assert_trap", "line": 88, "action": {"type": "invoke", "field": "v128.load32_zero", "args": [{"type": "i32", "value": "4294967295"}]}, "text": "out of bounds memory access", "expected": [{"type": "v128"}]}, 22 {"type": "assert_trap", "line": 89, "action": {"type": "invoke", "field": "v128.load64_zero", "args": [{"type": "i32", "value": "4294967295"}]}, "text": "out of bounds memory access", "expected": [{"type": "v128"}]}, 23 {"type": "assert_trap", "line": 91, "action": {"type": "invoke", "field": "v128.load32_zero_offset1_align1", "args": [{"type": "i32", "value": "4294967295"}]}, "text": "out of bounds memory access", "expected": [{"type": "v128"}]}, 24 {"type": "assert_trap", "line": 92, "action": {"type": "invoke", "field": "v128.load64_zero_offset1_align1", "args": [{"type": "i32", "value": "4294967295"}]}, "text": "out of bounds memory access", "expected": [{"type": "v128"}]}, 25 {"type": "assert_invalid", "line": 95, "filename": "simd_load_zero.1.wasm", "text": "type mismatch", "module_type": "binary"}, 26 {"type": "assert_invalid", "line": 96, "filename": "simd_load_zero.2.wasm", "text": "type mismatch", "module_type": "binary"}, 27 {"type": "assert_invalid", "line": 101, "filename": "simd_load_zero.3.wasm", "text": "type mismatch", "module_type": "binary"}, 28 {"type": "assert_invalid", "line": 109, "filename": "simd_load_zero.4.wasm", "text": "type mismatch", "module_type": "binary"}, 29 {"type": "assert_malformed", "line": 119, "filename": "simd_load_zero.5.wat", "text": "unknown operator", "module_type": "text"}, 30 {"type": "assert_malformed", "line": 120, "filename": "simd_load_zero.6.wat", "text": "unknown operator", "module_type": "text"}, 31 {"type": "assert_malformed", "line": 121, "filename": "simd_load_zero.7.wat", "text": "unknown operator", "module_type": "text"}, 32 {"type": "assert_malformed", "line": 122, "filename": "simd_load_zero.8.wat", "text": "unknown operator", "module_type": "text"}, 33 {"type": "assert_malformed", "line": 123, "filename": "simd_load_zero.9.wat", "text": "unknown operator", "module_type": "text"}, 34 {"type": "assert_malformed", "line": 124, "filename": "simd_load_zero.10.wat", "text": "unknown operator", "module_type": "text"}, 35 {"type": "module", "line": 127, "filename": "simd_load_zero.11.wasm"}, 36 {"type": "assert_return", "line": 149, "action": {"type": "invoke", "field": "v128.load32_zero-in-block", "args": []}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["50462976", "0", "0", "0"]}]}, 37 {"type": "assert_return", "line": 150, "action": {"type": "invoke", "field": "v128.load64_zero-in-block", "args": []}, "expected": [{"type": "v128", "lane_type": "i64", "value": ["578437695752307201", "0"]}]}, 38 {"type": "assert_return", "line": 151, "action": {"type": "invoke", "field": "v128.load32_zero-as-br-value", "args": []}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["151521030", "0", "0", "0"]}]}, 39 {"type": "assert_return", "line": 152, "action": {"type": "invoke", "field": "v128.load64_zero-as-br-value", "args": []}, "expected": [{"type": "v128", "lane_type": "i64", "value": ["1012478732780767239", "0"]}]}, 40 {"type": "assert_return", "line": 153, "action": {"type": "invoke", "field": "v128.load32_zero-extract_lane_s-operand", "args": []}, "expected": [{"type": "i32", "value": "252579084"}]}, 41 {"type": "assert_return", "line": 154, "action": {"type": "invoke", "field": "v128.load64_zero-extract_lane_s-operand", "args": []}, "expected": [{"type": "i64", "value": "9548619127666445837"}]}]}