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
103 lines
1.8 KiB
ArmAsm
103 lines
1.8 KiB
ArmAsm
# mach: aarch64
|
|
|
|
# Check the load single 1-element structure to one lane instructions:
|
|
# ld1, ld2, ld3, ld4.
|
|
# Check the addressing modes: no offset, post-index immediate offset,
|
|
# post-index register offset.
|
|
|
|
.include "testutils.inc"
|
|
|
|
.data
|
|
.align 4
|
|
input:
|
|
.word 0x04030201
|
|
.word 0x08070605
|
|
.word 0x0c0b0a09
|
|
.word 0x100f0e0d
|
|
.word 0x14131211
|
|
.word 0x18171615
|
|
.word 0x1c1b1a19
|
|
.word 0x201f1e1d
|
|
|
|
start
|
|
adrp x0, input
|
|
add x0, x0, :lo12:input
|
|
|
|
mov x2, x0
|
|
mov x3, #1
|
|
mov x4, #4
|
|
ld1 {v0.b}[0], [x2], 1
|
|
ld1 {v0.b}[1], [x2], x3
|
|
ld1 {v0.h}[1], [x2], 2
|
|
ld1 {v0.s}[1], [x2], x4
|
|
ld1 {v0.d}[1], [x2]
|
|
addv b1, v0.16b
|
|
mov x5, v1.d[0]
|
|
cmp x5, #136
|
|
bne .Lfailure
|
|
|
|
mov x2, x0
|
|
mov x3, #16
|
|
mov x4, #4
|
|
ld2 {v0.d, v1.d}[0], [x2], x3
|
|
ld2 {v0.s, v1.s}[2], [x2], 8
|
|
ld2 {v0.h, v1.h}[6], [x2], x4
|
|
ld2 {v0.b, v1.b}[14], [x2], 2
|
|
ld2 {v0.b, v1.b}[15], [x2]
|
|
addv b2, v0.16b
|
|
addv b3, v1.16b
|
|
mov x5, v2.d[0]
|
|
mov x6, v3.d[0]
|
|
cmp x5, #221
|
|
bne .Lfailure
|
|
cmp x6, #51
|
|
bne .Lfailure
|
|
|
|
mov x2, x0
|
|
ld3 {v0.s, v1.s, v2.s}[0], [x2], 12
|
|
ld3 {v0.s, v1.s, v2.s}[1], [x2]
|
|
mov x2, x0
|
|
mov x3, #12
|
|
ld3 {v0.s, v1.s, v2.s}[2], [x2], x3
|
|
ld3 {v0.s, v1.s, v2.s}[3], [x2]
|
|
addv b3, v0.16b
|
|
addv b4, v1.16b
|
|
addv b5, v2.16b
|
|
mov x4, v3.d[0]
|
|
mov x5, v4.d[0]
|
|
mov x6, v5.d[0]
|
|
cmp x4, #136
|
|
bne .Lfailure
|
|
cmp x5, #200
|
|
bne .Lfailure
|
|
cmp x6, #8
|
|
bne .Lfailure
|
|
|
|
mov x2, x0
|
|
ld4 {v0.s, v1.s, v2.s, v3.s}[0], [x2], 16
|
|
ld4 {v0.s, v1.s, v2.s, v3.s}[1], [x2]
|
|
mov x2, x0
|
|
mov x3, #16
|
|
ld4 {v0.s, v1.s, v2.s, v3.s}[2], [x2], x3
|
|
ld4 {v0.s, v1.s, v2.s, v3.s}[3], [x2]
|
|
addv b4, v0.16b
|
|
addv b5, v1.16b
|
|
addv b6, v2.16b
|
|
addv b7, v3.16b
|
|
mov x4, v4.d[0]
|
|
mov x5, v5.d[0]
|
|
mov x6, v6.d[0]
|
|
mov x7, v7.d[0]
|
|
cmp x4, #168
|
|
bne .Lfailure
|
|
cmp x5, #232
|
|
bne .Lfailure
|
|
cmp x6, #40
|
|
bne .Lfailure
|
|
cmp x7, #104
|
|
bne .Lfailure
|
|
|
|
pass
|
|
.Lfailure:
|
|
fail
|