50 lines · plain
1# RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=fused+jcc+jmp %s -o %t12# RUN: llvm-mc -filetype=obj -triple x86_64 --x86-branches-within-32B-boundaries %s -o %t23# RUN: cmp %t1 %t24 5 # Check the general option --x86-branches-within-32B-boundaries is equivelent6 # to the fined options --x86-align-branch-boundary=32 --x86-align-branch=fused+jcc+jmp.7 8 .text9 .globl foo10 .p2align 511foo:12 .p2align 513 .rept 3014 int315 .endr16 js foo17 18 .p2align 519 .rept 3020 int321 .endr22 jmp foo23 24 .p2align 525 .rept 3026 int327 .endr28 jmp *%rcx29 30 31 .p2align 532 .rept 3033 int334 .endr35 call foo36 37 .p2align 538 .rept 3039 int340 .endr41 ret $042 43 44 .p2align 545 .rept 2946 int347 .endr48 cmp %rax, %rbp49 je foo50