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
59 lines
2.5 KiB
ArmAsm
59 lines
2.5 KiB
ArmAsm
@ RUN: llvm-mc %s -triple=armv7-linux-gnueabi | FileCheck -check-prefix=ASM %s
|
|
@ RUN: llvm-mc %s -triple=armv7-linux-gnueabi -filetype=obj -o %t.o
|
|
@ RUN: llvm-objdump --no-print-imm-hex -d -r %t.o --triple=armv7-linux-gnueabi | FileCheck --check-prefix=OBJ %s
|
|
@ RUN: llvm-mc %s -triple=thumbv7-linux-gnueabi -filetype=obj -o %t.o
|
|
@ RUN: llvm-objdump --no-print-imm-hex -d -r %t.o --triple=thumbv7-linux-gnueabi | FileCheck --check-prefix=THUMB %s
|
|
|
|
.syntax unified
|
|
.text
|
|
.globl barf
|
|
.align 2
|
|
.type barf,%function
|
|
barf: @ @barf
|
|
@ %bb.0: @ %entry
|
|
movw r0, :lower16:GOT-(.LPC0_2+8)
|
|
movt r0, :upper16:GOT-(.LPC0_2+8)
|
|
.LPC0_2:
|
|
movw r0, :lower16:extern_symbol+1234
|
|
movt r0, :upper16:extern_symbol+1234
|
|
|
|
movw r0, :lower16:(foo - bar + 1234)
|
|
movt r0, :upper16:(foo - bar + 1234)
|
|
foo:
|
|
bar:
|
|
|
|
@ ASM: movw r0, :lower16:(GOT-(.LPC0_2+8))
|
|
@ ASM-NEXT: movt r0, :upper16:(GOT-(.LPC0_2+8))
|
|
@ ASM: movw r0, :lower16:(extern_symbol+1234)
|
|
@ ASM-NEXT: movt r0, :upper16:(extern_symbol+1234)
|
|
@ ASM: movw r0, :lower16:(foo-bar+1234)
|
|
@ ASM-NEXT: movt r0, :upper16:(foo-bar+1234)
|
|
|
|
@OBJ: Disassembly of section .text:
|
|
@OBJ-EMPTY:
|
|
@OBJ-NEXT: <barf>:
|
|
@OBJ-NEXT: 0: e30f0ff0 movw r0, #65520
|
|
@OBJ-NEXT: 00000000: R_ARM_MOVW_PREL_NC GOT
|
|
@OBJ-NEXT: 4: e34f0ff4 movt r0, #65524
|
|
@OBJ-NEXT: 00000004: R_ARM_MOVT_PREL GOT
|
|
@OBJ-NEXT: 8: e30004d2 movw r0, #1234
|
|
@OBJ-NEXT: 00000008: R_ARM_MOVW_ABS_NC extern_symbol
|
|
@OBJ-NEXT: c: e34004d2 movt r0, #1234
|
|
@OBJ-NEXT: 0000000c: R_ARM_MOVT_ABS extern_symbol
|
|
@OBJ-NEXT: 10: e30004d2 movw r0, #1234
|
|
@OBJ-NEXT: 14: e3400000 movt r0, #0
|
|
|
|
@THUMB: Disassembly of section .text:
|
|
@THUMB-EMPTY:
|
|
@THUMB-NEXT: <barf>:
|
|
@THUMB-NEXT: 0: f64f 70f0 movw r0, #65520
|
|
@THUMB-NEXT: 00000000: R_ARM_THM_MOVW_PREL_NC GOT
|
|
@THUMB-NEXT: 4: f6cf 70f4 movt r0, #65524
|
|
@THUMB-NEXT: 00000004: R_ARM_THM_MOVT_PREL GOT
|
|
@THUMB-NEXT: 8: f240 40d2 movw r0, #1234
|
|
@THUMB-NEXT: 00000008: R_ARM_THM_MOVW_ABS_NC extern_symbol
|
|
@THUMB-NEXT: c: f2c0 40d2 movt r0, #1234
|
|
@THUMB-NEXT: 0000000c: R_ARM_THM_MOVT_ABS extern_symbol
|
|
@THUMB-NEXT: 10: f240 40d2 movw r0, #1234
|
|
@THUMB-NEXT: 14: f2c0 0000 movt r0, #0
|