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
181 lines
7.5 KiB
ArmAsm
181 lines
7.5 KiB
ArmAsm
|
|
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme-mop4,+sme-f64f64 < %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-mop4,+sme-f64f64 < %s \
|
|
// RUN: | llvm-objdump -d --mattr=+sme-mop4,+sme-f64f64 - | FileCheck %s --check-prefix=CHECK-INST
|
|
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme-mop4,+sme-f64f64 < %s \
|
|
// RUN: | llvm-objdump -d --mattr=-sme-mop4 - | 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-mop4,+sme-f64f64 < %s \
|
|
// RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \
|
|
// RUN: | llvm-mc -triple=aarch64 -mattr=+sme-mop4,+sme-f64f64 -disassemble -show-encoding \
|
|
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
|
|
|
|
|
|
// FMOP4A
|
|
|
|
// Single vectors
|
|
|
|
fmop4a za0.d, z0.d, z16.d // 10000000-11000000-00000000-00001000
|
|
// CHECK-INST: fmop4a za0.d, z0.d, z16.d
|
|
// CHECK-ENCODING: [0x08,0x00,0xc0,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80c00008 <unknown>
|
|
|
|
fmop4a za5.d, z10.d, z20.d // 10000000-11000100-00000001-01001101
|
|
// CHECK-INST: fmop4a za5.d, z10.d, z20.d
|
|
// CHECK-ENCODING: [0x4d,0x01,0xc4,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80c4014d <unknown>
|
|
|
|
fmop4a za7.d, z14.d, z30.d // 10000000-11001110-00000001-11001111
|
|
// CHECK-INST: fmop4a za7.d, z14.d, z30.d
|
|
// CHECK-ENCODING: [0xcf,0x01,0xce,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80ce01cf <unknown>
|
|
|
|
// Single and multiple vectors
|
|
|
|
fmop4a za0.d, z0.d, {z16.d-z17.d} // 10000000-11010000-00000000-00001000
|
|
// CHECK-INST: fmop4a za0.d, z0.d, { z16.d, z17.d }
|
|
// CHECK-ENCODING: [0x08,0x00,0xd0,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80d00008 <unknown>
|
|
|
|
fmop4a za5.d, z10.d, {z20.d-z21.d} // 10000000-11010100-00000001-01001101
|
|
// CHECK-INST: fmop4a za5.d, z10.d, { z20.d, z21.d }
|
|
// CHECK-ENCODING: [0x4d,0x01,0xd4,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80d4014d <unknown>
|
|
|
|
fmop4a za7.d, z14.d, {z30.d-z31.d} // 10000000-11011110-00000001-11001111
|
|
// CHECK-INST: fmop4a za7.d, z14.d, { z30.d, z31.d }
|
|
// CHECK-ENCODING: [0xcf,0x01,0xde,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80de01cf <unknown>
|
|
|
|
// Multiple and single vectors
|
|
|
|
fmop4a za0.d, {z0.d-z1.d}, z16.d // 10000000-11000000-00000010-00001000
|
|
// CHECK-INST: fmop4a za0.d, { z0.d, z1.d }, z16.d
|
|
// CHECK-ENCODING: [0x08,0x02,0xc0,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80c00208 <unknown>
|
|
|
|
fmop4a za5.d, {z10.d-z11.d}, z20.d // 10000000-11000100-00000011-01001101
|
|
// CHECK-INST: fmop4a za5.d, { z10.d, z11.d }, z20.d
|
|
// CHECK-ENCODING: [0x4d,0x03,0xc4,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80c4034d <unknown>
|
|
|
|
fmop4a za7.d, {z14.d-z15.d}, z30.d // 10000000-11001110-00000011-11001111
|
|
// CHECK-INST: fmop4a za7.d, { z14.d, z15.d }, z30.d
|
|
// CHECK-ENCODING: [0xcf,0x03,0xce,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80ce03cf <unknown>
|
|
|
|
// Multiple vectors
|
|
|
|
fmop4a za0.d, {z0.d-z1.d}, {z16.d-z17.d} // 10000000-11010000-00000010-00001000
|
|
// CHECK-INST: fmop4a za0.d, { z0.d, z1.d }, { z16.d, z17.d }
|
|
// CHECK-ENCODING: [0x08,0x02,0xd0,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80d00208 <unknown>
|
|
|
|
fmop4a za5.d, {z10.d-z11.d}, {z20.d-z21.d} // 10000000-11010100-00000011-01001101
|
|
// CHECK-INST: fmop4a za5.d, { z10.d, z11.d }, { z20.d, z21.d }
|
|
// CHECK-ENCODING: [0x4d,0x03,0xd4,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80d4034d <unknown>
|
|
|
|
fmop4a za7.d, {z14.d-z15.d}, {z30.d-z31.d} // 10000000-11011110-00000011-11001111
|
|
// CHECK-INST: fmop4a za7.d, { z14.d, z15.d }, { z30.d, z31.d }
|
|
// CHECK-ENCODING: [0xcf,0x03,0xde,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80de03cf <unknown>
|
|
|
|
|
|
// FMOP4S
|
|
|
|
// Single vectors
|
|
|
|
fmop4s za0.d, z0.d, z16.d // 10000000-11000000-00000000-00011000
|
|
// CHECK-INST: fmop4s za0.d, z0.d, z16.d
|
|
// CHECK-ENCODING: [0x18,0x00,0xc0,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80c00018 <unknown>
|
|
|
|
fmop4s za5.d, z10.d, z20.d // 10000000-11000100-00000001-01011101
|
|
// CHECK-INST: fmop4s za5.d, z10.d, z20.d
|
|
// CHECK-ENCODING: [0x5d,0x01,0xc4,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80c4015d <unknown>
|
|
|
|
fmop4s za7.d, z14.d, z30.d // 10000000-11001110-00000001-11011111
|
|
// CHECK-INST: fmop4s za7.d, z14.d, z30.d
|
|
// CHECK-ENCODING: [0xdf,0x01,0xce,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80ce01df <unknown>
|
|
|
|
// Single and multiple vectors
|
|
|
|
fmop4s za0.d, z0.d, {z16.d-z17.d} // 10000000-11010000-00000000-00011000
|
|
// CHECK-INST: fmop4s za0.d, z0.d, { z16.d, z17.d }
|
|
// CHECK-ENCODING: [0x18,0x00,0xd0,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80d00018 <unknown>
|
|
|
|
fmop4s za5.d, z10.d, {z20.d-z21.d} // 10000000-11010100-00000001-01011101
|
|
// CHECK-INST: fmop4s za5.d, z10.d, { z20.d, z21.d }
|
|
// CHECK-ENCODING: [0x5d,0x01,0xd4,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80d4015d <unknown>
|
|
|
|
fmop4s za7.d, z14.d, {z30.d-z31.d} // 10000000-11011110-00000001-11011111
|
|
// CHECK-INST: fmop4s za7.d, z14.d, { z30.d, z31.d }
|
|
// CHECK-ENCODING: [0xdf,0x01,0xde,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80de01df <unknown>
|
|
|
|
// Multiple and single vectors
|
|
|
|
fmop4s za0.d, {z0.d-z1.d}, z16.d // 10000000-11000000-00000010-00011000
|
|
// CHECK-INST: fmop4s za0.d, { z0.d, z1.d }, z16.d
|
|
// CHECK-ENCODING: [0x18,0x02,0xc0,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80c00218 <unknown>
|
|
|
|
fmop4s za5.d, {z10.d-z11.d}, z20.d // 10000000-11000100-00000011-01011101
|
|
// CHECK-INST: fmop4s za5.d, { z10.d, z11.d }, z20.d
|
|
// CHECK-ENCODING: [0x5d,0x03,0xc4,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80c4035d <unknown>
|
|
|
|
fmop4s za7.d, {z14.d-z15.d}, z30.d // 10000000-11001110-00000011-11011111
|
|
// CHECK-INST: fmop4s za7.d, { z14.d, z15.d }, z30.d
|
|
// CHECK-ENCODING: [0xdf,0x03,0xce,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80ce03df <unknown>
|
|
|
|
// Multiple vectors
|
|
|
|
fmop4s za0.d, {z0.d-z1.d}, {z16.d-z17.d} // 10000000-11010000-00000010-00011000
|
|
// CHECK-INST: fmop4s za0.d, { z0.d, z1.d }, { z16.d, z17.d }
|
|
// CHECK-ENCODING: [0x18,0x02,0xd0,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80d00218 <unknown>
|
|
|
|
fmop4s za5.d, {z10.d-z11.d}, {z20.d-z21.d} // 10000000-11010100-00000011-01011101
|
|
// CHECK-INST: fmop4s za5.d, { z10.d, z11.d }, { z20.d, z21.d }
|
|
// CHECK-ENCODING: [0x5d,0x03,0xd4,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80d4035d <unknown>
|
|
|
|
fmop4s za7.d, {z14.d-z15.d}, {z30.d-z31.d} // 10000000-11011110-00000011-11011111
|
|
// CHECK-INST: fmop4s za7.d, { z14.d, z15.d }, { z30.d, z31.d }
|
|
// CHECK-ENCODING: [0xdf,0x03,0xde,0x80]
|
|
// CHECK-ERROR: instruction requires: sme-f64f64 sme-mop4
|
|
// CHECK-UNKNOWN: 80de03df <unknown>
|