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
81 lines
2.2 KiB
ArmAsm
81 lines
2.2 KiB
ArmAsm
@ RUN: llvm-mc -triple armv7-eabi -filetype asm -o - %s | FileCheck %s
|
|
@ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s | llvm-readobj -r - \
|
|
@ RUN: | FileCheck -check-prefix CHECK-RELOCATIONS %s
|
|
|
|
.syntax unified
|
|
|
|
.type function,%function
|
|
function:
|
|
bx lr
|
|
|
|
.global external
|
|
.type external,%function
|
|
|
|
.set deadbeat, 0xdeadbea7
|
|
|
|
.type test,%function
|
|
test:
|
|
movw r0, :lower16:function
|
|
movt r0, :upper16:function
|
|
|
|
movw r1, #:lower16:function
|
|
movt r1, #:upper16:function
|
|
|
|
movw r2, :lower16:deadbeat
|
|
movt r2, :upper16:deadbeat
|
|
|
|
movw r3, #:lower16:deadbeat
|
|
movt r3, #:upper16:deadbeat
|
|
|
|
movw r4, :lower16:0xD1510D6E
|
|
movt r4, :upper16:0xD1510D6E
|
|
|
|
movw r5, #:lower16:0xD1510D6E
|
|
movt r5, #:upper16:0xD1510D6E
|
|
|
|
movw r0, :lower16:external
|
|
movt r0, :upper16:external
|
|
|
|
movw r1, #:lower16:external
|
|
movt r1, #:upper16:external
|
|
|
|
movw r2, #:lower16:(16 + 16)
|
|
movt r2, #:upper16:(16 + 16)
|
|
|
|
movw r3, :lower16:(16 + 16)
|
|
movt r3, :upper16:(16 + 16)
|
|
|
|
@ CHECK-LABEL: test:
|
|
@ CHECK: movw r0, :lower16:function
|
|
@ CHECK: movt r0, :upper16:function
|
|
@ CHECK: movw r1, :lower16:function
|
|
@ CHECK: movt r1, :upper16:function
|
|
@ CHECK: movw r2, :lower16:(3735928487)
|
|
@ CHECK: movt r2, :upper16:(3735928487)
|
|
@ CHECK: movw r3, :lower16:(3735928487)
|
|
@ CHECK: movt r3, :upper16:(3735928487)
|
|
@ CHECK: movw r4, :lower16:(3511749998)
|
|
@ CHECK: movt r4, :upper16:(3511749998)
|
|
@ CHECK: movw r5, :lower16:(3511749998)
|
|
@ CHECK: movt r5, :upper16:(3511749998)
|
|
@ CHECK: movw r0, :lower16:external
|
|
@ CHECK: movt r0, :upper16:external
|
|
@ CHECK: movw r1, :lower16:external
|
|
@ CHECK: movt r1, :upper16:external
|
|
@ CHECK: movw r2, :lower16:(32)
|
|
@ CHECK: movt r2, :upper16:(32)
|
|
@ CHECK: movw r3, :lower16:(32)
|
|
@ CHECK: movt r3, :upper16:(32)
|
|
|
|
@ CHECK-RELOCATIONS: Relocations [
|
|
@ CHECK-RELOCATIONS: 0x4 R_ARM_MOVW_ABS_NC function
|
|
@ CHECK-RELOCATIONS: 0x8 R_ARM_MOVT_ABS function
|
|
@ CHECK-RELOCATIONS: 0xC R_ARM_MOVW_ABS_NC function
|
|
@ CHECK-RELOCATIONS: 0x10 R_ARM_MOVT_ABS function
|
|
@ CHECK-RELOCATIONS: 0x34 R_ARM_MOVW_ABS_NC external
|
|
@ CHECK-RELOCATIONS: 0x38 R_ARM_MOVT_ABS external
|
|
@ CHECK-RELOCATIONS: 0x3C R_ARM_MOVW_ABS_NC external
|
|
@ CHECK-RELOCATIONS: 0x40 R_ARM_MOVT_ABS external
|
|
@ CHECK-RELOCATIONS: ]
|
|
|