CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
57 lines
1.5 KiB
ArmAsm
57 lines
1.5 KiB
ArmAsm
# RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=call+indirect %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s --check-prefixes=CHECK,X64
|
|
# RUN: llvm-mc -filetype=obj -triple i386 --x86-align-branch-boundary=32 --x86-align-branch=call+indirect %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s --check-prefixes=CHECK,X86
|
|
|
|
# Exercise cases where the instruction to be aligned has a variant symbol
|
|
# operand, and we can't add before it since linker may rewrite it.
|
|
|
|
.text
|
|
.global foo
|
|
|
|
foo:
|
|
.p2align 5
|
|
.rept 30
|
|
int3
|
|
.endr
|
|
# CHECK: 1d: int3
|
|
# X64: 1e: callq
|
|
# X86: 1e: calll
|
|
# CHECK: 23: int3
|
|
call ___tls_get_addr@PLT
|
|
int3
|
|
|
|
.p2align 5
|
|
.rept 30
|
|
int3
|
|
.endr
|
|
# CHECK: 5d: int3
|
|
# X64: 5e: callq *(%ecx)
|
|
# X64: 65: int3
|
|
# X86: 5e: calll *(%ecx)
|
|
# X86: 64: int3
|
|
call *___tls_get_addr@GOT(%ecx)
|
|
int3
|
|
|
|
.p2align 5
|
|
.rept 30
|
|
int3
|
|
.endr
|
|
# CHECK: 9d: int3
|
|
# X64: 9e: callq *(%eax)
|
|
# X64: a1: int3
|
|
# X86: 9e: calll *(%eax)
|
|
# X86: a0: int3
|
|
call *foo@tlscall(%eax)
|
|
int3
|
|
|
|
.p2align 5
|
|
.rept 30
|
|
int3
|
|
.endr
|
|
# CHECK: dd: int3
|
|
# X64: de: jmpq *(%eax)
|
|
# X64: e1: int3
|
|
# X86: de: jmpl *(%eax)
|
|
# X86: e0: int3
|
|
jmp *foo@tlscall(%eax)
|
|
int3
|