1 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=jcc %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s --check-prefixes=JCC
2 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=jmp %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s --check-prefixes=JMP
3 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=indirect %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s --check-prefixes=IND
4 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=call %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s --check-prefixes=CAL
5 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=ret %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s --check-prefixes=RET
7 # Exercise cases where only one kind of instruction is asked to be aligned.
8 # Fused instruction cases are excluded.
55 # JCC: de: callq *%rax
56 # JMP: de: callq *%rax
57 # IND: de: callq *%rax
58 # CAL: e0: callq *%rax
59 # RET: de: callq *%rax
81 # JCC: 15d: cmpq %rax, %rbp
83 # JMP: 15d: cmpq %rax, %rbp
85 # IND: 15d: cmpq %rax, %rbp
87 # CAL: 15d: cmpq %rax, %rbp
89 # RET: 15d: cmpq %rax, %rbp