llvm-for-llvmta/test/MC/X86/align-branch-32bit.s

16 lines
329 B
ArmAsm

# RUN: llvm-mc -filetype=obj -triple i386 --x86-align-branch-boundary=32 --x86-align-branch=jmp %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s
# Check the branch align mechanism can work in 32-bit mode.
.text
.rept 31
int3
.endr
# CHECK: 20: jmp
jmp bar
.type bar,@function
bar:
ret