brintos

brintos / llvm-project-archived public Read only

0
0
Text · 666 B · 1aa4125 Raw
33 lines · plain
1# RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=jmp+call %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s2 3  # Exercise cases where instructions to be aligned is after hardcode4  # and thus can't add a nop in between without changing semantic.5 6  .text7 8  # CHECK: 1d:       int39  # CHECK: 1e:       jmp10  # CHECK: 24:       int311  .p2align  512  .rept 3013  int314  .endr15  .byte 0x2e16  jmp baz17  int318 19  # CHECK: 5d:       int320  # CHECK: 5e:       call21  # CHECK: 66:       int322  .p2align  523  .rept 3024  int325  .endr26  .byte 0x6627  call *___tls_get_addr@GOT(%ecx)28  int329 30  .section ".text.other"31bar:32  retq33