[AMDGPU][True16][CodeGen] true16 codegen pattern for v_med3_u/i16 (#121850)
[llvm-project.git] / llvm / test / MC / WebAssembly / objdump.s
blob1b4fc3076400f6cf1e8c6de451c393e8418b3f12
1 # RUN: llvm-mc -triple=wasm32-unknown-unknown -filetype=obj -o %t.o -mattr=+simd128,+nontrapping-fptoint,+exception-handling < %s
2 # RUN: llvm-objdump --triple=wasm32-unknown-unknown -d %t.o | FileCheck %s
4 test0:
5 .functype test0 (i32, i64) -> (f32)
6 .local f32, f64, v128, v128
7 local.get 2
8 end_function
10 test1:
11 .functype test1 (i32, i64) -> (i64)
12 .local i32, i64, funcref
13 local.get 3
14 end_function
17 # CHECK-LABEL: CODE:
18 # CHECK: # 2 functions in section.
19 # CHECK-LABEL: <test0>:
20 # CHECK-NEXT: .local f32, f64, v128, v128
21 # CHECK-NEXT: 9: 20 02 local.get 2
22 # CHECK-NEXT: b: 0b end
23 # CHECK-LABEL: <test1>:
24 # CHECK-NEXT: .local i32, i64, funcref
25 # CHECK-NEXT: 14: 20 03 local.get 3
26 # CHECK-NEXT: 16: 0b end