[AMDGPU][True16][CodeGen] true16 codegen pattern for f16 canonicalize (#122000)
[llvm-project.git] / llvm / test / tools / llvm-exegesis / X86 / print-assembled-snippet.s
blob532901d0e04308b7da5cef268a1e7368d625d248
1 # Check that "assembled_snippet" is fetched correctly from object file.
2 # Feel free to update the snippet in this test if the code generated by the
3 # snippet repetitor was changed intentionally and it is still fetched correctly.
5 # RUN: llvm-exegesis --mtriple=x86_64-linux-gnu --mcpu=x86-64 --benchmark-phase=prepare-and-assemble-snippet \
6 # RUN: --snippets-file=%s --mode=latency --repetition-mode=duplicate \
7 # RUN: | FileCheck %s --check-prefix=CHECK-LINUX
9 # RUN: llvm-exegesis --mtriple=x86_64-windows-gnu --mcpu=x86-64 --benchmark-phase=prepare-and-assemble-snippet \
10 # RUN: --snippets-file=%s --mode=latency --repetition-mode=duplicate \
11 # RUN: | FileCheck %s --check-prefix=CHECK-WINDOWS-GNU
13 # RUN: llvm-exegesis --mtriple=x86_64-windows-msvc --mcpu=x86-64 --benchmark-phase=prepare-and-assemble-snippet \
14 # RUN: --snippets-file=%s --mode=latency --repetition-mode=duplicate \
15 # RUN: | FileCheck %s --check-prefix=CHECK-WINDOWS-MSVC
17 # LLVM-EXEGESIS-DEFREG RDI 0
18 # LLVM-EXEGESIS-DEFREG RSI 0
19 # LLVM-EXEGESIS-DEFREG RAX 0
20 leaq (%rdi,%rsi), %rax
22 # CHECK-LINUX: cpu_name: x86-64
23 # CHECK-LINUX: llvm_triple: x86_64-unknown-linux-gnu
24 # CHECK-LINUX: assembled_snippet: 48BF000000000000000048BE000000000000000048B80000000000000000488D0437488D0437488D0437488D0437C3{{$}}
26 # CHECK-WINDOWS-GNU: cpu_name: x86-64
27 # CHECK-WINDOWS-GNU: llvm_triple: x86_64-unknown-windows-gnu
28 # CHECK-WINDOWS-GNU: assembled_snippet: 565748BF000000000000000048BE000000000000000048B80000000000000000488D0437488D0437488D0437488D04375F5EC3{{$}}
30 # CHECK-WINDOWS-MSVC: cpu_name: x86-64
31 # CHECK-WINDOWS-MSVC: llvm_triple: x86_64-unknown-windows-msvc
32 # CHECK-WINDOWS-MSVC: assembled_snippet: 565748BF000000000000000048BE000000000000000048B80000000000000000488D0437488D0437488D0437488D04375F5EC3{{$}}