1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/MC/X86/AlignedBundling/different-sections.s
Fangrui Song 1c1cc1c5ed [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options
As announced here: http://lists.llvm.org/pipermail/llvm-dev/2019-April/131786.html

Grouped option syntax (POSIX Utility Conventions) does not play well with -long-option
A subsequent change will reject -long-option.
2020-03-15 17:46:23 -07:00

28 lines
716 B
ArmAsm

# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu -mcpu=pentiumpro %s -o - \
# RUN: | llvm-objdump -d --no-show-raw-insn - | FileCheck %s
# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu -mcpu=pentiumpro -mc-relax-all %s -o - \
# RUN: | llvm-objdump -d --no-show-raw-insn - | FileCheck %s
# Test two different executable sections with bundling.
.bundle_align_mode 3
.section text1, "x"
# CHECK: section text1
imull $17, %ebx, %ebp
imull $17, %ebx, %ebp
imull $17, %ebx, %ebp
# CHECK: 6: nop
# CHECK-NEXT: 8: imull
.section text2, "x"
# CHECK: section text2
imull $17, %ebx, %ebp
imull $17, %ebx, %ebp
imull $17, %ebx, %ebp
# CHECK: 6: nop
# CHECK-NEXT: 8: imull