Debian Codegraph @

llvm/test/MC/X86/AlignedBundling/asm-printing-bundle-directives.s

raw
1 # RUN: llvm-mc -filetype=asm -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
2
3 # Just a simple test for the assembly emitter - making sure it emits back the
4 # bundling directives.
5
6 .text
7 foo:
8 .bundle_align_mode 4
9 # CHECK: .bundle_align_mode 4
10 pushq %rbp
11 .bundle_lock
12 # CHECK: .bundle_lock
13 cmpl %r14d, %ebp
14 jle .L_ELSE
15 .bundle_unlock
16 # CHECK: .bundle_unlock
17 .bundle_lock align_to_end
18 # CHECK: .bundle_lock align_to_end
19 add %rbx, %rdx
20 .bundle_unlock
21
22