Files
TheRock/compiler/amd-llvm/llvm/test/MC/Mips/section-size.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

107 lines
2.2 KiB
ArmAsm

# RUN: llvm-mc -triple mips-unknown-linux -filetype=obj \
# RUN: -mips-round-section-sizes %s | llvm-readobj --sections - | FileCheck %s
.section ".talign1", "ax"
.p2align 4
t1: .byte 1
.section ".talign2", "ax"
.p2align 3
t2: addiu $2, $2, 1
addiu $2, $2, 1
.section ".talign3", "ax"
.p2align 3
t3: addiu $2, $2, 1
.section ".talign4", "ax"
t4: .byte 1
.section ".dalign1", "a"
.p2align 4
d1: .byte 1
.section ".dalign2", "a"
.p2align 3
d2: .word 1
.word 2
.section ".dalign3", "a"
.p2align 3
d3: .word 1
.section ".dalign4", "a"
d4: .byte 1
.section ".dalign5", "a"
.p2align 16
d5: .word 1
.section ".nalign1", ""
.p2align 4
n1: .byte 1
.section ".nalign2", ""
.p2align 3
n2: .word 1
.word 2
.section ".nalign3", ""
.p2align 3
n3: .word 1
.section ".nalign4", ""
n4: .byte 1
# CHECK-LABEL: Name: .talign1
# CHECK: Size: 16
# CHECK: AddressAlignment: 16
# CHECK-LABEL: }
# CHECK-LABEL: Name: .talign2
# CHECK: Size: 8
# CHECK: AddressAlignment: 8
# CHECK-LABEL: }
# CHECK-LABEL: Name: .talign3
# CHECK: Size: 8
# CHECK: AddressAlignment: 8
# CHECK-LABEL: }
# CHECK-LABEL: Name: .talign4
# CHECK: Size: 1
# CHECK: AddressAlignment: 1
# CHECK-LABEL: }
# CHECK-LABEL: Name: .dalign1
# CHECK: Size: 16
# CHECK: AddressAlignment: 16
# CHECK-LABEL: }
# CHECK-LABEL: Name: .dalign2
# CHECK: Size: 8
# CHECK: AddressAlignment: 8
# CHECK-LABEL: }
# CHECK-LABEL: Name: .dalign3
# CHECK: Size: 8
# CHECK: AddressAlignment: 8
# CHECK-LABEL: }
# CHECK-LABEL: Name: .dalign4
# CHECK: Size: 1
# CHECK: AddressAlignment: 1
# CHECK-LABEL: }
# CHECK-LABEL: Name: .dalign5
# CHECK: Size: 65536
# CHECK: AddressAlignment: 65536
# CHECK-LABEL: }
# CHECK-LABEL: Name: .nalign1
# CHECK: Size: 16
# CHECK: AddressAlignment: 16
# CHECK-LABEL: }
# CHECK-LABEL: Name: .nalign2
# CHECK: Size: 8
# CHECK: AddressAlignment: 8
# CHECK-LABEL: }
# CHECK-LABEL: Name: .nalign3
# CHECK: Size: 8
# CHECK: AddressAlignment: 8
# CHECK-LABEL: }
# CHECK-LABEL: Name: .nalign4
# CHECK: Size: 1
# CHECK: AddressAlignment: 1
# CHECK-LABEL: }