aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/X86/AlignedBundling/relax-at-bundle-end.s
blob: ab4affbbeac8f7ac586506ea8a00dcad9eca3b1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - \
# RUN:   | llvm-objdump -disassemble -no-show-raw-insn - | FileCheck %s

# Test that an instruction near a bundle end gets properly padded
# after it is relaxed.
.text
foo:
        .bundle_align_mode 5
        .rept 29
        push %rax
        .endr
# CHECK: 1c: push
# CHECK: 1d: nop
# CHECK: 20: jne
        jne 0x100