1# RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=fused+jcc+jmp %s -o %t1 2# RUN: llvm-mc -filetype=obj -triple x86_64 --x86-branches-within-32B-boundaries %s -o %t2 3# RUN: cmp %t1 %t2 4 5 # Check the general option --x86-branches-within-32B-boundaries is equivelent 6 # to the fined options --x86-align-branch-boundary=32 --x86-align-branch=fused+jcc+jmp. 7 8 .text 9 .globl foo 10 .p2align 5 11foo: 12 .p2align 5 13 .rept 30 14 int3 15 .endr 16 js foo 17 18 .p2align 5 19 .rept 30 20 int3 21 .endr 22 jmp foo 23 24 .p2align 5 25 .rept 30 26 int3 27 .endr 28 jmp *%rcx 29 30 31 .p2align 5 32 .rept 30 33 int3 34 .endr 35 call foo 36 37 .p2align 5 38 .rept 30 39 int3 40 .endr 41 ret $0 42 43 44 .p2align 5 45 .rept 29 46 int3 47 .endr 48 cmp %rax, %rbp 49 je foo 50