[ORC] Add std::tuple support to SimplePackedSerialization.
[llvm-project.git] / llvm / test / tools / llvm-objdump / X86 / syntax-mode.s
blobdf1e06329f451657f6be186cc6f4f46e1bdb289e
1 ## Test att and intel syntax modes.
2 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t
3 # RUN: llvm-objdump -d %t | FileCheck %s --check-prefix=ATT
4 # RUN: llvm-objdump -d -M att %t | FileCheck %s --check-prefix=ATT
5 # RUN: llvm-objdump -dMintel %t | FileCheck %s --check-prefix=INTEL
6 # RUN: llvm-objdump -d --disassembler-options=intel %t | FileCheck %s --check-prefix=INTEL
8 ## The last wins.
9 # RUN: llvm-objdump -dM att -M att,intel %t | FileCheck %s --check-prefix=INTEL
11 ## Test discouraged internal cl::opt options.
12 # RUN: llvm-objdump -d --x86-asm-syntax=att %t | FileCheck %s --check-prefix=ATT
13 # RUN: llvm-objdump -d --x86-asm-syntax=intel %t | FileCheck %s --check-prefix=INTEL
15 # ATT: movw $1, %ax
16 # ATT: imull %esi, %edi
17 # ATT: leaq 5(%rsi,%rdi,4), %rax
19 # INTEL: mov ax, 1
20 # INTEL: imul edi, esi
21 # INTEL: lea rax, [rsi + 4*rdi + 5]
23 movw $1, %ax
24 imull %esi, %edi
25 leaq 5(%rsi,%rdi,4), %rax