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
62 lines
1.2 KiB
ArmAsm
62 lines
1.2 KiB
ArmAsm
# REQUIRES: systemz
|
|
# RUN: llvm-mc -filetype=obj -triple=s390x-unknown-linux %s -o %t.o
|
|
|
|
# RUN: ld.lld %t.o -o %t
|
|
# RUN: llvm-readelf -r %t | FileCheck --check-prefix=NOREL %s
|
|
# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck --check-prefix=LE %s
|
|
# RUN: llvm-objdump --section .data.rel.ro --full-contents %t | FileCheck --check-prefix=LE-DATA %s
|
|
|
|
# NOREL: no relocations
|
|
|
|
## TP offset for a is at 0x1002200
|
|
# LE: lgrl %r1, 0x1002200
|
|
# LE-NEXT: lgf %r1, 0(%r1,%r7)
|
|
|
|
## TP offset for b is at 0x1002208
|
|
# LE-NEXT: lgrl %r1, 0x1002208
|
|
# LE-NEXT: lgf %r1, 0(%r1,%r7)
|
|
|
|
## TP offset for c is at 0x1002210
|
|
# LE-NEXT: lgrl %r1, 0x1002210
|
|
# LE-NEXT: lgf %r1, 0(%r1,%r7)
|
|
|
|
## TP offsets:
|
|
# a: -8
|
|
# b: -4
|
|
# c: 0
|
|
# LE-DATA: 1002200 ffffffff fffffff8 ffffffff fffffffc
|
|
# LE-DATA: 1002210 00000000 00000000
|
|
|
|
ear %r7,%a0
|
|
sllg %r7,%r1,32
|
|
ear %r7,%a1
|
|
|
|
lgrl %r1, .LC0
|
|
lgf %r1,0(%r1,%r7)
|
|
|
|
lgrl %r1, .LC1
|
|
lgf %r1,0(%r1,%r7)
|
|
|
|
lgrl %r1, .LC2
|
|
lgf %r1,0(%r1,%r7)
|
|
|
|
.section .data.rel.ro,"aw"
|
|
.align 8
|
|
.LC0:
|
|
.quad a@ntpoff
|
|
.LC1:
|
|
.quad b@ntpoff
|
|
.LC2:
|
|
.quad c@ntpoff
|
|
|
|
.section .tbss
|
|
.globl a
|
|
.globl b
|
|
.globl c
|
|
.zero 8
|
|
a:
|
|
.zero 4
|
|
b:
|
|
.zero 4
|
|
c:
|