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

16 lines
329 B
ArmAsm
Raw Normal View History

2022-04-25 10:02:23 +02:00
# 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