1 # RUN: llvm-mc --disassemble %s -triple=wasm32-unknown-unknown | FileCheck %s
14 # CHECK: i64.load32_u 16:p2align=1
20 # CHECK: call_indirect
22 # FIXME: WebAssemblyInstPrinter does not print immediates.
26 # CHECK-NOT: exnref.call 0
29 # CHECK: local.get 128
32 # Prefix byte example:
33 # CHECK: i64.trunc_sat_f64_u
36 # CHECK: v128.const 50462976, 117835012, 185207048, 252579084
37 0xFD 0x02 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A 0x0B 0x0C 0x0D 0x0E 0x0F
39 # CHECK: v8x16.shuffle 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
40 0xFD 0x03 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A 0x0B 0x0C 0x0D 0x0E 0x0F
42 # Check LEB128 encoding of SIMD instructions
43 # CHECK: i64x2.all_true
46 # Including non-canonical LEB128 encodings
47 # CHECK: i64x2.any_true
48 # CHECK-NOT: i64.div_u
49 0xFD 0x85 0x81 0x80 0x80 0x80 0x80 0x00
51 # Check br_table, which has its own operand type.
52 # CHECK: br_table {0, 1, 2}
53 0x0E 0x02 0x00 0x01 0x02
55 # This can mean end_block/end_loop/end_if/end_function/end_try..
59 # CHECK: br_on_exn 0, 0