brintos

brintos / llvm-project-archived public Read only

0
0
Text · 588 B · 9576562 Raw
17 lines · plain
1# RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=jmp -x86-pad-max-prefix-size=5 %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s2  # Check instructions can be aligned correctly along with option -x86-pad-max-prefix-size=53 4  .text5  .p2align 56  .rept 247  int38  .endr9  # We should not increase the length of this jmp to reduce the bytes of10  # following nops, doing so would make the jmp misaligned.11# CHECK:      18:          jmp12  jmp bar13# CHECK:      1d:          nopl (%rax)14# CHECK:      20:          int315  .p2align 516  int317