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
251 lines
7.8 KiB
ArmAsm
251 lines
7.8 KiB
ArmAsm
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme < %s \
|
|
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
|
|
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
|
|
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
|
|
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme < %s \
|
|
// RUN: | llvm-objdump -d --mattr=+sme - | FileCheck %s --check-prefix=CHECK-INST
|
|
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme < %s \
|
|
// RUN: | llvm-objdump -d --mattr=-sme - | FileCheck %s --check-prefix=CHECK-UNKNOWN
|
|
// Disassemble encoding and check the re-encoding (-show-encoding) matches.
|
|
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme < %s \
|
|
// RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \
|
|
// RUN: | llvm-mc -triple=aarch64 -mattr=+sme -disassemble -show-encoding \
|
|
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
|
|
|
|
zero {}
|
|
// CHECK-INST: zero {}
|
|
// CHECK-ENCODING: [0x00,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c0080000 <unknown>
|
|
|
|
zero {za0.d, za2.d, za4.d, za6.d}
|
|
// CHECK-INST: zero {za0.h}
|
|
// CHECK-ENCODING: [0x55,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c0080055 <unknown>
|
|
|
|
zero {za0.d, za1.d, za2.d, za4.d, za5.d, za7.d}
|
|
// CHECK-INST: zero {za0.d, za1.d, za2.d, za4.d, za5.d, za7.d}
|
|
// CHECK-ENCODING: [0xb7,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c00800b7 <unknown>
|
|
|
|
zero {za0.d, za1.d, za2.d, za3.d, za4.d, za5.d, za6.d, za7.d}
|
|
// CHECK-INST: zero {za}
|
|
// CHECK-ENCODING: [0xff,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c00800ff <unknown>
|
|
|
|
// --------------------------------------------------------------------------//
|
|
// Aliases
|
|
|
|
zero {za}
|
|
// CHECK-INST: zero {za}
|
|
// CHECK-ENCODING: [0xff,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c00800ff <unknown>
|
|
|
|
zero {za0.b}
|
|
// CHECK-INST: zero {za}
|
|
// CHECK-ENCODING: [0xff,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c00800ff <unknown>
|
|
|
|
zero {za0.h}
|
|
// CHECK-INST: zero {za0.h}
|
|
// CHECK-ENCODING: [0x55,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c0080055 <unknown>
|
|
|
|
zero {za1.h}
|
|
// CHECK-INST: zero {za1.h}
|
|
// CHECK-ENCODING: [0xaa,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c00800aa <unknown>
|
|
|
|
zero {za0.h,za1.h}
|
|
// CHECK-INST: zero {za}
|
|
// CHECK-ENCODING: [0xff,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c00800ff <unknown>
|
|
|
|
zero {za0.s}
|
|
// CHECK-INST: zero {za0.s}
|
|
// CHECK-ENCODING: [0x11,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c0080011 <unknown>
|
|
|
|
zero {za1.s}
|
|
// CHECK-INST: zero {za1.s}
|
|
// CHECK-ENCODING: [0x22,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c0080022 <unknown>
|
|
|
|
zero {za2.s}
|
|
// CHECK-INST: zero {za2.s}
|
|
// CHECK-ENCODING: [0x44,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c0080044 <unknown>
|
|
|
|
zero {za3.s}
|
|
// CHECK-INST: zero {za3.s}
|
|
// CHECK-ENCODING: [0x88,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c0080088 <unknown>
|
|
|
|
zero {za0.s,za1.s}
|
|
// CHECK-INST: zero {za0.s,za1.s}
|
|
// CHECK-ENCODING: [0x33,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c0080033 <unknown>
|
|
|
|
zero {za0.s,za2.s}
|
|
// CHECK-INST: zero {za0.h}
|
|
// CHECK-ENCODING: [0x55,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c0080055 <unknown>
|
|
|
|
zero {za0.s,za3.s}
|
|
// CHECK-INST: zero {za0.s,za3.s}
|
|
// CHECK-ENCODING: [0x99,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c0080099 <unknown>
|
|
|
|
zero {za1.s,za2.s}
|
|
// CHECK-INST: zero {za1.s,za2.s}
|
|
// CHECK-ENCODING: [0x66,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c0080066 <unknown>
|
|
|
|
zero {za1.s,za3.s}
|
|
// CHECK-INST: zero {za1.h}
|
|
// CHECK-ENCODING: [0xaa,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c00800aa <unknown>
|
|
|
|
zero {za2.s,za3.s}
|
|
// CHECK-INST: zero {za2.s,za3.s}
|
|
// CHECK-ENCODING: [0xcc,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c00800cc <unknown>
|
|
|
|
zero {za0.s,za1.s,za2.s}
|
|
// CHECK-INST: zero {za0.s,za1.s,za2.s}
|
|
// CHECK-ENCODING: [0x77,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c0080077 <unknown>
|
|
|
|
zero {za0.s,za1.s,za3.s}
|
|
// CHECK-INST: zero {za0.s,za1.s,za3.s}
|
|
// CHECK-ENCODING: [0xbb,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c00800bb <unknown>
|
|
|
|
zero {za0.s,za2.s,za3.s}
|
|
// CHECK-INST: zero {za0.s,za2.s,za3.s}
|
|
// CHECK-ENCODING: [0xdd,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c00800dd <unknown>
|
|
|
|
zero {za1.s,za2.s,za3.s}
|
|
// CHECK-INST: zero {za1.s,za2.s,za3.s}
|
|
// CHECK-ENCODING: [0xee,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c00800ee <unknown>
|
|
|
|
zero {za0.s,za1.s,za2.s,za3.s}
|
|
// CHECK-INST: zero {za}
|
|
// CHECK-ENCODING: [0xff,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c00800ff <unknown>
|
|
|
|
zero {za0.d,za1.d,za2.d,za3.d,za4.d,za5.d,za6.d,za7.d}
|
|
// CHECK-INST: zero {za}
|
|
// CHECK-ENCODING: [0xff,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c00800ff <unknown>
|
|
|
|
zero {za0.d,za2.d,za4.d,za6.d}
|
|
// CHECK-INST: zero {za0.h}
|
|
// CHECK-ENCODING: [0x55,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c0080055 <unknown>
|
|
|
|
zero {za1.d,za3.d,za5.d,za7.d}
|
|
// CHECK-INST: zero {za1.h}
|
|
// CHECK-ENCODING: [0xaa,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c00800aa <unknown>
|
|
|
|
zero {za0.d,za4.d}
|
|
// CHECK-INST: zero {za0.s}
|
|
// CHECK-ENCODING: [0x11,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c0080011 <unknown>
|
|
|
|
zero {za1.d,za5.d}
|
|
// CHECK-INST: zero {za1.s}
|
|
// CHECK-ENCODING: [0x22,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c0080022 <unknown>
|
|
|
|
zero {za2.d,za6.d}
|
|
// CHECK-INST: zero {za2.s}
|
|
// CHECK-ENCODING: [0x44,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c0080044 <unknown>
|
|
|
|
zero {za3.d,za7.d}
|
|
// CHECK-INST: zero {za3.s}
|
|
// CHECK-ENCODING: [0x88,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c0080088 <unknown>
|
|
|
|
zero {za0.d,za1.d,za4.d,za5.d}
|
|
// CHECK-INST: zero {za0.s,za1.s}
|
|
// CHECK-ENCODING: [0x33,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c0080033 <unknown>
|
|
|
|
zero {za0.d,za3.d,za4.d,za7.d}
|
|
// CHECK-INST: zero {za0.s,za3.s}
|
|
// CHECK-ENCODING: [0x99,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c0080099 <unknown>
|
|
|
|
zero {za1.d,za2.d,za5.d,za6.d}
|
|
// CHECK-INST: zero {za1.s,za2.s}
|
|
// CHECK-ENCODING: [0x66,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c0080066 <unknown>
|
|
|
|
zero {za2.d,za3.d,za6.d,za7.d}
|
|
// CHECK-INST: zero {za2.s,za3.s}
|
|
// CHECK-ENCODING: [0xcc,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c00800cc <unknown>
|
|
|
|
zero {za0.d,za1.d,za2.d,za4.d,za5.d,za6.d}
|
|
// CHECK-INST: zero {za0.s,za1.s,za2.s}
|
|
// CHECK-ENCODING: [0x77,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c0080077 <unknown>
|
|
|
|
zero {za0.d,za1.d,za3.d,za4.d,za5.d,za7.d}
|
|
// CHECK-INST: zero {za0.s,za1.s,za3.s}
|
|
// CHECK-ENCODING: [0xbb,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c00800bb <unknown>
|
|
|
|
zero {za0.d,za2.d,za3.d,za4.d,za6.d,za7.d}
|
|
// CHECK-INST: zero {za0.s,za2.s,za3.s}
|
|
// CHECK-ENCODING: [0xdd,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c00800dd <unknown>
|
|
|
|
zero {za1.d,za2.d,za3.d,za5.d,za6.d,za7.d}
|
|
// CHECK-INST: zero {za1.s,za2.s,za3.s}
|
|
// CHECK-ENCODING: [0xee,0x00,0x08,0xc0]
|
|
// CHECK-ERROR: instruction requires: sme
|
|
// CHECK-UNKNOWN: c00800ee <unknown>
|