Files
TheRock/compiler/amd-llvm/llvm/test/MC/ARM/pcrel-vldr-same-section.s
T
derek.holloway 7502bf64a4
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
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

62 lines
2.9 KiB
ArmAsm

@ RUN: llvm-mc -filetype=obj -o %t %s -triple=armv8.2a-eabi
@ RUN: llvm-readelf -r %t | FileCheck %s --check-prefix=RELOC
@ RUN: llvm-objdump -d --triple=armv8.2a-eabi --mattr=+fullfp16 %t | FileCheck %s --check-prefix=ARM_OFFSET
@ RUN: llvm-mc -filetype=obj -o %t %s -triple=armebv8.2a-eabi
@ RUN: llvm-readelf -r %t | FileCheck %s --check-prefix=RELOC
@ RUN: llvm-objdump -d --triple=armebv8.2a-eabi --mattr=+fullfp16 %t | FileCheck %s --check-prefix=ARM_OFFSET
@ RUN: llvm-mc -filetype=obj -o %t %s -triple=thumbv8.2a-eabi
@ RUN: llvm-readelf -r %t | FileCheck %s --check-prefix=RELOC
@ RUN: llvm-objdump -d --triple=thumbv8.2a-eabi --mattr=+fullfp16 %t | FileCheck %s --check-prefix=THUMB_OFFSET
@ RUN: llvm-mc -filetype=obj -o %t %s -triple=thumbebv8.2a-eabi
@ RUN: llvm-readelf -r %t | FileCheck %s --check-prefix=RELOC
@ RUN: llvm-objdump -d --triple=thumbebv8.2a-eabi --mattr=+fullfp16 %t | FileCheck %s --check-prefix=THUMB_OFFSET
.arch_extension fp16
baz:
.word 0x11223344, 0x55667788
label:
vldr s0, foo @ arm_pcrel_10 / t2_pcrel_10
vldr d0, foo @ arm_pcrel_10 / t2_pcrel_10
vldr.16 s0, foo @ arm_pcrel_9 / t2_pcrel_9
vldr s0, bar-8
vldr d0, bar-8
vldr.16 s0, bar-8
vldr s0, baz
vldr d0, baz
vldr.16 s0, baz
vldr s0, label-8
vldr d0, label-8
vldr.16 s0, label-8
foo:
.word 0x11223344, 0x55667788
bar:
@ RELOC: There are no relocations in this file.
@ ARM_OFFSET: vldr s0, [pc, #40] @ 0x38 <foo>
@ ARM_OFFSET: vldr d0, [pc, #36] @ 0x38 <foo>
@ ARM_OFFSET: vldr.16 s0, [pc, #32] @ 0x38 <foo>
@ ARM_OFFSET: vldr s0, [pc, #28] @ 0x38 <foo>
@ ARM_OFFSET: vldr d0, [pc, #24] @ 0x38 <foo>
@ ARM_OFFSET: vldr.16 s0, [pc, #20] @ 0x38 <foo>
@ ARM_OFFSET: vldr s0, [pc, #-40] @ 0x0 <baz>
@ ARM_OFFSET: vldr d0, [pc, #-44] @ 0x0 <baz>
@ ARM_OFFSET: vldr.16 s0, [pc, #-48] @ 0x0 <baz>
@ ARM_OFFSET: vldr s0, [pc, #-52] @ 0x0 <baz>
@ ARM_OFFSET: vldr d0, [pc, #-56] @ 0x0 <baz>
@ ARM_OFFSET: vldr.16 s0, [pc, #-60] @ 0x0 <baz>
@ THUMB_OFFSET: vldr s0, [pc, #44] @ 0x38 <foo>
@ THUMB_OFFSET: vldr d0, [pc, #40] @ 0x38 <foo>
@ THUMB_OFFSET: vldr.16 s0, [pc, #36] @ 0x38 <foo>
@ THUMB_OFFSET: vldr s0, [pc, #32] @ 0x38 <foo>
@ THUMB_OFFSET: vldr d0, [pc, #28] @ 0x38 <foo>
@ THUMB_OFFSET: vldr.16 s0, [pc, #24] @ 0x38 <foo>
@ THUMB_OFFSET: vldr s0, [pc, #-36] @ 0x0 <baz>
@ THUMB_OFFSET: vldr d0, [pc, #-40] @ 0x0 <baz>
@ THUMB_OFFSET: vldr.16 s0, [pc, #-44] @ 0x0 <baz>
@ THUMB_OFFSET: vldr s0, [pc, #-48] @ 0x0 <baz>
@ THUMB_OFFSET: vldr d0, [pc, #-52] @ 0x0 <baz>
@ THUMB_OFFSET: vldr.16 s0, [pc, #-56] @ 0x0 <baz>