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
115 lines
2.8 KiB
ArmAsm
115 lines
2.8 KiB
ArmAsm
|
|
# RUN: llvm-mc -triple powerpc64-unknown-unknown -filetype=obj %s | \
|
|
# RUN: llvm-readobj -S --sd - | FileCheck -check-prefix=CHECK -check-prefix=CHECK-BE %s
|
|
# RUN: llvm-mc -triple powerpc64le-unknown-unknown -filetype=obj %s | \
|
|
# RUN: llvm-readobj -S --sd - | FileCheck -check-prefix=CHECK -check-prefix=CHECK-LE %s
|
|
|
|
# This checks that fixups that can be resolved within the same
|
|
# object file are applied correctly.
|
|
|
|
.text
|
|
|
|
addi 1, 1, target
|
|
addis 1, 1, target
|
|
|
|
.set target, 0x1234
|
|
|
|
subi 1, 1, -target2@l
|
|
subis 1, 1, -target2@ha
|
|
|
|
.set target2, 0x12345678
|
|
|
|
addi 1, 1, target3-target4@l
|
|
subis 1, 1, target4-target3@ha
|
|
|
|
.set target3, 0x23455678
|
|
.set target4, 0x12341234
|
|
|
|
addi 1, 1, target5+0x8000@l
|
|
addis 1, 1, target5+0x8000@ha
|
|
ori 1, 1, target5+0x8000@l
|
|
oris 1, 1, target5+0x8000@ha
|
|
|
|
.set target5, 0x10000001
|
|
|
|
1:
|
|
addi 1, 1, 2f-1b@l
|
|
addis 1, 1, 1b-2f@ha
|
|
2:
|
|
|
|
addi 1, 1, target6@h
|
|
addis 1, 1, target6@h
|
|
|
|
addi 1, 1, target6@high
|
|
addis 1, 1, target6@higha
|
|
|
|
.set target6, 0x4321fedc
|
|
|
|
addi 1, 1, target7@higher
|
|
addis 1, 1, target7@highest
|
|
addi 1, 1, target7@highera
|
|
addis 1, 1, target7@highesta
|
|
|
|
.set target7, 0x1234ffffffff8000
|
|
|
|
.data
|
|
|
|
.quad v1
|
|
.long v2
|
|
.short v3
|
|
.byte v4
|
|
|
|
.set v1, 0x123456789abcdef0
|
|
.set v2, 0x87654321
|
|
.set v3, 0xbeef
|
|
.set v4, 0x42
|
|
|
|
# CHECK: Section {
|
|
# CHECK: Name: .text
|
|
# CHECK-NEXT: Type: SHT_PROGBITS
|
|
# CHECK-NEXT: Flags [
|
|
# CHECK-NEXT: SHF_ALLOC
|
|
# CHECK-NEXT: SHF_EXECINSTR
|
|
# CHECK-NEXT: ]
|
|
# CHECK-NEXT: Address: 0x0
|
|
# CHECK-NEXT: Offset:
|
|
# CHECK-NEXT: Size: 80
|
|
# CHECK-NEXT: Link: 0
|
|
# CHECK-NEXT: Info: 0
|
|
# CHECK-NEXT: AddressAlignment: 4
|
|
# CHECK-NEXT: EntrySize: 0
|
|
# CHECK-NEXT: SectionData (
|
|
# CHECK-BE-NEXT: 0000: 38211234 3C211234 38215678 3C211234
|
|
# CHECK-LE-NEXT: 0000: 34122138 3412213C 78562138 3412213C
|
|
# CHECK-BE-NEXT: 0010: 38214444 3C211111 38218001 3C211001
|
|
# CHECK-LE-NEXT: 0010: 44442138 1111213C 01802138 0110213C
|
|
# CHECK-BE-NEXT: 0020: 60218001 64211001 38210008 3C210000
|
|
# CHECK-LE-NEXT: 0020: 01802160 01102164 08002138 0000213C
|
|
# CHECK-BE-NEXT: 0030: 38214321 3C214321 38214321 3C214322
|
|
# CHECK-LE-NEXT: 0030: 21432138 2143213C 21432138 2243213C
|
|
# CHECK-BE-NEXT: 0040: 3821FFFF 3C211234 38210000 3C211235
|
|
# CHECK-LE-NEXT: 0040: FFFF2138 3412213C 00002138 3512213C
|
|
# CHECK-NEXT: )
|
|
# CHECK-NEXT: }
|
|
|
|
# CHECK: Section {
|
|
# CHECK: Name: .data
|
|
# CHECK-NEXT: Type: SHT_PROGBITS
|
|
# CHECK-NEXT: Flags [
|
|
# CHECK-NEXT: SHF_ALLOC
|
|
# CHECK-NEXT: SHF_WRITE
|
|
# CHECK-NEXT: ]
|
|
# CHECK-NEXT: Address: 0x0
|
|
# CHECK-NEXT: Offset:
|
|
# CHECK-NEXT: Size: 15
|
|
# CHECK-NEXT: Link: 0
|
|
# CHECK-NEXT: Info: 0
|
|
# CHECK-NEXT: AddressAlignment:
|
|
# CHECK-NEXT: EntrySize: 0
|
|
# CHECK-NEXT: SectionData (
|
|
# CHECK-BE-NEXT: 0000: 12345678 9ABCDEF0 87654321 BEEF42
|
|
# CHECK-LE-NEXT: 0000: F0DEBC9A 78563412 21436587 EFBE42
|
|
# CHECK-NEXT: )
|
|
# CHECK-NEXT: }
|
|
|