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
94 lines
1.3 KiB
ArmAsm
94 lines
1.3 KiB
ArmAsm
# mach: aarch64
|
|
|
|
# Check the mov from asimd to general reg instructions: smov, umov.
|
|
|
|
.include "testutils.inc"
|
|
|
|
.data
|
|
.align 4
|
|
input:
|
|
.word 0x04030201
|
|
.word 0x08070605
|
|
.word 0xf4f3f2f1
|
|
.word 0xf8f7f6f5
|
|
|
|
start
|
|
adrp x0, input
|
|
ldr q0, [x0, #:lo12:input]
|
|
|
|
smov w0, v0.b[0]
|
|
smov w3, v0.b[12]
|
|
cmp w0, #1
|
|
bne .Lfailure
|
|
cmp w3, #-11
|
|
bne .Lfailure
|
|
|
|
smov x0, v0.b[1]
|
|
smov x3, v0.b[13]
|
|
cmp x0, #2
|
|
bne .Lfailure
|
|
cmp x3, #-10
|
|
bne .Lfailure
|
|
|
|
smov w0, v0.h[0]
|
|
smov w1, v0.h[4]
|
|
cmp w0, #0x0201
|
|
bne .Lfailure
|
|
cmp w1, #-3343
|
|
bne .Lfailure
|
|
|
|
smov x0, v0.h[1]
|
|
smov x1, v0.h[5]
|
|
cmp x0, #0x0403
|
|
bne .Lfailure
|
|
cmp x1, #-2829
|
|
bne .Lfailure
|
|
|
|
smov x0, v0.s[1]
|
|
smov x1, v0.s[3]
|
|
mov x2, #0x0605
|
|
movk x2, #0x0807, lsl #16
|
|
cmp x0, x2
|
|
bne .Lfailure
|
|
mov w3, #0xf6f5
|
|
movk w3, #0xf8f7, lsl #16
|
|
sxtw x3, w3
|
|
cmp x1, x3
|
|
bne .Lfailure
|
|
|
|
umov w0, v0.b[0]
|
|
umov w3, v0.b[12]
|
|
cmp w0, #1
|
|
bne .Lfailure
|
|
cmp w3, #0xf5
|
|
bne .Lfailure
|
|
|
|
umov w0, v0.h[0]
|
|
umov w1, v0.h[4]
|
|
cmp w0, #0x0201
|
|
bne .Lfailure
|
|
mov w2, #0xf2f1
|
|
cmp w1, w2
|
|
bne .Lfailure
|
|
|
|
umov w0, v0.s[0]
|
|
umov w1, v0.s[2]
|
|
mov w2, #0x0201
|
|
movk w2, #0x0403, lsl #16
|
|
cmp w0, w2
|
|
bne .Lfailure
|
|
mov w3, #0xf2f1
|
|
movk w3, #0xf4f3, lsl #16
|
|
cmp w1, w3
|
|
bne .Lfailure
|
|
|
|
umov x0, v0.d[0]
|
|
adrp x1, input
|
|
ldr x2, [x1, #:lo12:input]
|
|
cmp x0, x2
|
|
bne .Lfailure
|
|
|
|
pass
|
|
.Lfailure:
|
|
fail
|