Files
TheRock/compiler/amd-llvm/llvm/test/MC/LoongArch/lasx/subw.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

69 lines
2.3 KiB
ArmAsm

# RUN: llvm-mc --triple=loongarch64 --show-encoding %s | \
# RUN: FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
# RUN: llvm-mc --triple=loongarch64 --filetype=obj %s | \
# RUN: llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-INST
xvsubwev.h.b $xr29, $xr1, $xr28
# CHECK-INST: xvsubwev.h.b $xr29, $xr1, $xr28
# CHECK-ENCODING: encoding: [0x3d,0x70,0x20,0x74]
xvsubwev.w.h $xr24, $xr20, $xr31
# CHECK-INST: xvsubwev.w.h $xr24, $xr20, $xr31
# CHECK-ENCODING: encoding: [0x98,0xfe,0x20,0x74]
xvsubwev.d.w $xr6, $xr4, $xr11
# CHECK-INST: xvsubwev.d.w $xr6, $xr4, $xr11
# CHECK-ENCODING: encoding: [0x86,0x2c,0x21,0x74]
xvsubwev.q.d $xr27, $xr31, $xr13
# CHECK-INST: xvsubwev.q.d $xr27, $xr31, $xr13
# CHECK-ENCODING: encoding: [0xfb,0xb7,0x21,0x74]
xvsubwev.h.bu $xr1, $xr20, $xr2
# CHECK-INST: xvsubwev.h.bu $xr1, $xr20, $xr2
# CHECK-ENCODING: encoding: [0x81,0x0a,0x30,0x74]
xvsubwev.w.hu $xr19, $xr6, $xr12
# CHECK-INST: xvsubwev.w.hu $xr19, $xr6, $xr12
# CHECK-ENCODING: encoding: [0xd3,0xb0,0x30,0x74]
xvsubwev.d.wu $xr31, $xr1, $xr23
# CHECK-INST: xvsubwev.d.wu $xr31, $xr1, $xr23
# CHECK-ENCODING: encoding: [0x3f,0x5c,0x31,0x74]
xvsubwev.q.du $xr31, $xr28, $xr17
# CHECK-INST: xvsubwev.q.du $xr31, $xr28, $xr17
# CHECK-ENCODING: encoding: [0x9f,0xc7,0x31,0x74]
xvsubwod.h.b $xr3, $xr9, $xr17
# CHECK-INST: xvsubwod.h.b $xr3, $xr9, $xr17
# CHECK-ENCODING: encoding: [0x23,0x45,0x24,0x74]
xvsubwod.w.h $xr14, $xr5, $xr21
# CHECK-INST: xvsubwod.w.h $xr14, $xr5, $xr21
# CHECK-ENCODING: encoding: [0xae,0xd4,0x24,0x74]
xvsubwod.d.w $xr8, $xr14, $xr3
# CHECK-INST: xvsubwod.d.w $xr8, $xr14, $xr3
# CHECK-ENCODING: encoding: [0xc8,0x0d,0x25,0x74]
xvsubwod.q.d $xr24, $xr15, $xr18
# CHECK-INST: xvsubwod.q.d $xr24, $xr15, $xr18
# CHECK-ENCODING: encoding: [0xf8,0xc9,0x25,0x74]
xvsubwod.h.bu $xr27, $xr2, $xr1
# CHECK-INST: xvsubwod.h.bu $xr27, $xr2, $xr1
# CHECK-ENCODING: encoding: [0x5b,0x04,0x34,0x74]
xvsubwod.w.hu $xr19, $xr7, $xr22
# CHECK-INST: xvsubwod.w.hu $xr19, $xr7, $xr22
# CHECK-ENCODING: encoding: [0xf3,0xd8,0x34,0x74]
xvsubwod.d.wu $xr1, $xr24, $xr26
# CHECK-INST: xvsubwod.d.wu $xr1, $xr24, $xr26
# CHECK-ENCODING: encoding: [0x01,0x6b,0x35,0x74]
xvsubwod.q.du $xr29, $xr26, $xr7
# CHECK-INST: xvsubwod.q.du $xr29, $xr26, $xr7
# CHECK-ENCODING: encoding: [0x5d,0x9f,0x35,0x74]