...

Text file src/github.com/tetratelabs/wazero/internal/integration_test/spectest/v2/testdata/simd_align.json

Documentation: github.com/tetratelabs/wazero/internal/integration_test/spectest/v2/testdata

     1{"source_filename": "./simd_align.wast",
     2 "commands": [
     3  {"type": "module", "line": 3, "filename": "simd_align.0.wasm"}, 
     4  {"type": "module", "line": 4, "filename": "simd_align.1.wasm"}, 
     5  {"type": "module", "line": 5, "filename": "simd_align.2.wasm"}, 
     6  {"type": "module", "line": 6, "filename": "simd_align.3.wasm"}, 
     7  {"type": "module", "line": 7, "filename": "simd_align.4.wasm"}, 
     8  {"type": "module", "line": 9, "filename": "simd_align.5.wasm"}, 
     9  {"type": "module", "line": 10, "filename": "simd_align.6.wasm"}, 
    10  {"type": "module", "line": 11, "filename": "simd_align.7.wasm"}, 
    11  {"type": "module", "line": 12, "filename": "simd_align.8.wasm"}, 
    12  {"type": "module", "line": 13, "filename": "simd_align.9.wasm"}, 
    13  {"type": "module", "line": 15, "filename": "simd_align.10.wasm"}, 
    14  {"type": "module", "line": 16, "filename": "simd_align.11.wasm"}, 
    15  {"type": "module", "line": 17, "filename": "simd_align.12.wasm"}, 
    16  {"type": "module", "line": 18, "filename": "simd_align.13.wasm"}, 
    17  {"type": "module", "line": 19, "filename": "simd_align.14.wasm"}, 
    18  {"type": "module", "line": 20, "filename": "simd_align.15.wasm"}, 
    19  {"type": "module", "line": 21, "filename": "simd_align.16.wasm"}, 
    20  {"type": "module", "line": 22, "filename": "simd_align.17.wasm"}, 
    21  {"type": "module", "line": 23, "filename": "simd_align.18.wasm"}, 
    22  {"type": "module", "line": 24, "filename": "simd_align.19.wasm"}, 
    23  {"type": "module", "line": 25, "filename": "simd_align.20.wasm"}, 
    24  {"type": "module", "line": 26, "filename": "simd_align.21.wasm"}, 
    25  {"type": "module", "line": 27, "filename": "simd_align.22.wasm"}, 
    26  {"type": "module", "line": 28, "filename": "simd_align.23.wasm"}, 
    27  {"type": "module", "line": 29, "filename": "simd_align.24.wasm"}, 
    28  {"type": "module", "line": 30, "filename": "simd_align.25.wasm"}, 
    29  {"type": "module", "line": 31, "filename": "simd_align.26.wasm"}, 
    30  {"type": "module", "line": 32, "filename": "simd_align.27.wasm"}, 
    31  {"type": "module", "line": 33, "filename": "simd_align.28.wasm"}, 
    32  {"type": "module", "line": 34, "filename": "simd_align.29.wasm"}, 
    33  {"type": "module", "line": 35, "filename": "simd_align.30.wasm"}, 
    34  {"type": "module", "line": 36, "filename": "simd_align.31.wasm"}, 
    35  {"type": "module", "line": 37, "filename": "simd_align.32.wasm"}, 
    36  {"type": "module", "line": 38, "filename": "simd_align.33.wasm"}, 
    37  {"type": "module", "line": 40, "filename": "simd_align.34.wasm"}, 
    38  {"type": "module", "line": 41, "filename": "simd_align.35.wasm"}, 
    39  {"type": "module", "line": 42, "filename": "simd_align.36.wasm"}, 
    40  {"type": "module", "line": 43, "filename": "simd_align.37.wasm"}, 
    41  {"type": "module", "line": 44, "filename": "simd_align.38.wasm"}, 
    42  {"type": "module", "line": 45, "filename": "simd_align.39.wasm"}, 
    43  {"type": "module", "line": 46, "filename": "simd_align.40.wasm"}, 
    44  {"type": "module", "line": 47, "filename": "simd_align.41.wasm"}, 
    45  {"type": "module", "line": 48, "filename": "simd_align.42.wasm"}, 
    46  {"type": "module", "line": 49, "filename": "simd_align.43.wasm"}, 
    47  {"type": "assert_invalid", "line": 54, "filename": "simd_align.44.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"}, 
    48  {"type": "assert_invalid", "line": 58, "filename": "simd_align.45.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"}, 
    49  {"type": "assert_invalid", "line": 62, "filename": "simd_align.46.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"}, 
    50  {"type": "assert_invalid", "line": 66, "filename": "simd_align.47.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"}, 
    51  {"type": "assert_invalid", "line": 70, "filename": "simd_align.48.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"}, 
    52  {"type": "assert_invalid", "line": 74, "filename": "simd_align.49.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"}, 
    53  {"type": "assert_invalid", "line": 78, "filename": "simd_align.50.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"}, 
    54  {"type": "assert_invalid", "line": 82, "filename": "simd_align.51.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"}, 
    55  {"type": "assert_invalid", "line": 86, "filename": "simd_align.52.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"}, 
    56  {"type": "assert_invalid", "line": 90, "filename": "simd_align.53.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"}, 
    57  {"type": "assert_invalid", "line": 94, "filename": "simd_align.54.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"}, 
    58  {"type": "assert_invalid", "line": 98, "filename": "simd_align.55.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"}, 
    59  {"type": "assert_malformed", "line": 105, "filename": "simd_align.56.wat", "text": "unknown operator", "module_type": "text"}, 
    60  {"type": "assert_malformed", "line": 111, "filename": "simd_align.57.wat", "text": "alignment must be a power of two", "module_type": "text"}, 
    61  {"type": "assert_malformed", "line": 117, "filename": "simd_align.58.wat", "text": "alignment must be a power of two", "module_type": "text"}, 
    62  {"type": "assert_malformed", "line": 123, "filename": "simd_align.59.wat", "text": "unknown operator", "module_type": "text"}, 
    63  {"type": "assert_malformed", "line": 129, "filename": "simd_align.60.wat", "text": "alignment must be a power of two", "module_type": "text"}, 
    64  {"type": "assert_malformed", "line": 135, "filename": "simd_align.61.wat", "text": "alignment must be a power of two", "module_type": "text"}, 
    65  {"type": "assert_malformed", "line": 141, "filename": "simd_align.62.wat", "text": "unknown operator", "module_type": "text"}, 
    66  {"type": "assert_malformed", "line": 147, "filename": "simd_align.63.wat", "text": "alignment must be a power of two", "module_type": "text"}, 
    67  {"type": "assert_malformed", "line": 153, "filename": "simd_align.64.wat", "text": "alignment must be a power of two", "module_type": "text"}, 
    68  {"type": "assert_malformed", "line": 159, "filename": "simd_align.65.wat", "text": "unknown operator", "module_type": "text"}, 
    69  {"type": "assert_malformed", "line": 165, "filename": "simd_align.66.wat", "text": "alignment must be a power of two", "module_type": "text"}, 
    70  {"type": "assert_malformed", "line": 171, "filename": "simd_align.67.wat", "text": "alignment must be a power of two", "module_type": "text"}, 
    71  {"type": "assert_malformed", "line": 177, "filename": "simd_align.68.wat", "text": "unknown operator", "module_type": "text"}, 
    72  {"type": "assert_malformed", "line": 183, "filename": "simd_align.69.wat", "text": "alignment must be a power of two", "module_type": "text"}, 
    73  {"type": "assert_malformed", "line": 189, "filename": "simd_align.70.wat", "text": "alignment must be a power of two", "module_type": "text"}, 
    74  {"type": "assert_malformed", "line": 195, "filename": "simd_align.71.wat", "text": "unknown operator", "module_type": "text"}, 
    75  {"type": "assert_malformed", "line": 201, "filename": "simd_align.72.wat", "text": "alignment must be a power of two", "module_type": "text"}, 
    76  {"type": "assert_malformed", "line": 207, "filename": "simd_align.73.wat", "text": "alignment must be a power of two", "module_type": "text"}, 
    77  {"type": "assert_malformed", "line": 213, "filename": "simd_align.74.wat", "text": "unknown operator", "module_type": "text"}, 
    78  {"type": "assert_malformed", "line": 219, "filename": "simd_align.75.wat", "text": "alignment must be a power of two", "module_type": "text"}, 
    79  {"type": "assert_malformed", "line": 225, "filename": "simd_align.76.wat", "text": "alignment must be a power of two", "module_type": "text"}, 
    80  {"type": "assert_malformed", "line": 231, "filename": "simd_align.77.wat", "text": "unknown operator", "module_type": "text"}, 
    81  {"type": "assert_malformed", "line": 237, "filename": "simd_align.78.wat", "text": "alignment must be a power of two", "module_type": "text"}, 
    82  {"type": "assert_malformed", "line": 243, "filename": "simd_align.79.wat", "text": "alignment must be a power of two", "module_type": "text"}, 
    83  {"type": "assert_malformed", "line": 249, "filename": "simd_align.80.wat", "text": "unknown operator", "module_type": "text"}, 
    84  {"type": "assert_malformed", "line": 255, "filename": "simd_align.81.wat", "text": "alignment must be a power of two", "module_type": "text"}, 
    85  {"type": "assert_malformed", "line": 261, "filename": "simd_align.82.wat", "text": "unknown operator", "module_type": "text"}, 
    86  {"type": "assert_malformed", "line": 267, "filename": "simd_align.83.wat", "text": "alignment must be a power of two", "module_type": "text"}, 
    87  {"type": "assert_malformed", "line": 273, "filename": "simd_align.84.wat", "text": "unknown operator", "module_type": "text"}, 
    88  {"type": "assert_malformed", "line": 279, "filename": "simd_align.85.wat", "text": "alignment must be a power of two", "module_type": "text"}, 
    89  {"type": "assert_malformed", "line": 285, "filename": "simd_align.86.wat", "text": "alignment must be a power of two", "module_type": "text"}, 
    90  {"type": "assert_malformed", "line": 291, "filename": "simd_align.87.wat", "text": "unknown operator", "module_type": "text"}, 
    91  {"type": "assert_malformed", "line": 297, "filename": "simd_align.88.wat", "text": "alignment must be a power of two", "module_type": "text"}, 
    92  {"type": "assert_malformed", "line": 303, "filename": "simd_align.89.wat", "text": "alignment must be a power of two", "module_type": "text"}, 
    93  {"type": "module", "line": 311, "filename": "simd_align.90.wasm"}, 
    94  {"type": "assert_return", "line": 321, "action": {"type": "invoke", "field": "v128.load align=16", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["0", "0", "0", "0"]}]}, 
    95  {"type": "assert_return", "line": 322, "action": {"type": "invoke", "field": "v128.load align=16", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["0", "0", "0", "0"]}]}, 
    96  {"type": "assert_return", "line": 323, "action": {"type": "invoke", "field": "v128.store align=16", "args": [{"type": "i32", "value": "1"}, {"type": "v128", "lane_type": "i8", "value": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16"]}]}, "expected": []}, 
    97  {"type": "assert_return", "line": 324, "action": {"type": "invoke", "field": "v128.load align=16", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "v128", "lane_type": "i8", "value": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"]}]}, 
    98  {"type": "module", "line": 328, "filename": "simd_align.91.wasm"}, 
    99  {"type": "assert_return", "line": 352, "action": {"type": "invoke", "field": "v128_unaligned_read_and_write", "args": []}, "expected": [{"type": "v128", "lane_type": "i8", "value": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"]}]}, 
   100  {"type": "assert_return", "line": 353, "action": {"type": "invoke", "field": "v128_aligned_read_and_write", "args": []}, "expected": [{"type": "v128", "lane_type": "i16", "value": ["0", "1", "2", "3", "4", "5", "6", "7"]}]}, 
   101  {"type": "assert_return", "line": 354, "action": {"type": "invoke", "field": "v128_aligned_read_and_unaligned_write", "args": []}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["0", "1", "2", "3"]}]}, 
   102  {"type": "assert_return", "line": 355, "action": {"type": "invoke", "field": "v128_unaligned_read_and_aligned_write", "args": []}, "expected": [{"type": "v128", "lane_type": "i32", "value": ["0", "1", "2", "3"]}]}]}

View as plain text