Files
TheRock/compiler/amd-llvm/lld/test/ELF/hexagon-tls-le.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
1.4 KiB
ArmAsm

# REQUIRES: hexagon
# RUN: llvm-mc -filetype=obj -triple=hexagon-unknown-elf %s -o %t.o
# RUN: llvm-readobj -r %t.o | FileCheck --check-prefix=RELOC %s
# RUN: ld.lld %t.o -o %t
# RUN: llvm-objdump -d --print-imm-hex %t | FileCheck %s
.globl _start
.type _start, @function
_start:
r0 = ugp
# RELOC: 0x4 R_HEX_TPREL_32_6_X a 0x0
# RELOC-NEXT: 0x8 R_HEX_TPREL_16_X a 0x0
# CHECK: { immext(#0xffffffc0)
# CHECK-NEXT: r1 = add(r0,##-0x10) }
r1 = add(r0,##a@TPREL)
# RELOC-NEXT: 0xC R_HEX_TPREL_32_6_X a 0x0
# RELOC-NEXT: 0x10 R_HEX_TPREL_11_X a 0x0
# CHECK: { immext(#0xffffffc0)
# CHECK-NEXT: r2 = memw(r0+##-0x10) }
r2 = memw(r0+##a@TPREL)
# RELOC-NEXT: 0x14 R_HEX_TPREL_HI16 a 0x0
# R_HEX_TPREL_HI16
# CHECK: { r3.h = #0xffff }
r3.h = #a@TPREL
# RELOC-NEXT: 0x18 R_HEX_TPREL_LO16 a 0x0
# R_HEX_TPREL_LO16
# CHECK: { r3.l = #0xfff0 }
r3.l = #a@TPREL
# RELOC-NEXT: 0x1C R_HEX_TPREL_16 a 0x0
# CHECK: { r4 = #-0x10 }
r4 = #a@TPREL
.section .tdata,"awT",@progbits
.globl a
.p2align 2
a:
.word 1
.size a, 4
.globl b
.p2align 2
b:
.word 2
.size b, 4
.globl c
.p2align 2
c:
.word 3
.size c, 4
.globl d
.p2align 2
d:
.word 4
.size d, 4