bolt/deps/llvm-18.1.8/llvm/test/MC/X86/align-branch-32bit.s
2025-02-14 19:21:04 +01:00

15 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