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
158 lines
6.5 KiB
ArmAsm
158 lines
6.5 KiB
ArmAsm
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2,+fp8 < %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=+sme2,+fp8 < %s \
|
|
// RUN: | llvm-objdump -d --mattr=+sme2,+fp8 - | FileCheck %s --check-prefix=CHECK-INST
|
|
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2,+fp8 < %s \
|
|
// RUN: | llvm-objdump -d --mattr=-sme2 - | FileCheck %s --check-prefix=CHECK-UNKNOWN
|
|
// Disassemble encoding and check the re-encoding (-show-encoding) matches.
|
|
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2,+fp8 < %s \
|
|
// RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \
|
|
// RUN: | llvm-mc -triple=aarch64 -mattr=+sme2,+fp8 -disassemble -show-encoding \
|
|
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
|
|
|
|
f1cvt {z0.h-z1.h}, z0.b // 11000001-00100110-11100000-00000000
|
|
// CHECK-INST: f1cvt { z0.h, z1.h }, z0.b
|
|
// CHECK-ENCODING: [0x00,0xe0,0x26,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c126e000 <unknown>
|
|
|
|
f1cvt {z30.h-z31.h}, z31.b // 11000001-00100110-11100011-11111110
|
|
// CHECK-INST: f1cvt { z30.h, z31.h }, z31.b
|
|
// CHECK-ENCODING: [0xfe,0xe3,0x26,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c126e3fe <unknown>
|
|
|
|
f1cvtl {z0.h-z1.h}, z0.b // 11000001-00100110-11100000-00000001
|
|
// CHECK-INST: f1cvtl { z0.h, z1.h }, z0.b
|
|
// CHECK-ENCODING: [0x01,0xe0,0x26,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c126e001 <unknown>
|
|
|
|
f1cvtl {z30.h-z31.h}, z31.b // 11000001-00100110-11100011-11111111
|
|
// CHECK-INST: f1cvtl { z30.h, z31.h }, z31.b
|
|
// CHECK-ENCODING: [0xff,0xe3,0x26,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c126e3ff <unknown>
|
|
|
|
bf1cvt {z0.h-z1.h}, z0.b // 11000001-01100110-11100000-00000000
|
|
// CHECK-INST: bf1cvt { z0.h, z1.h }, z0.b
|
|
// CHECK-ENCODING: [0x00,0xe0,0x66,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c166e000 <unknown>
|
|
|
|
bf1cvt {z30.h-z31.h}, z31.b // 11000001-01100110-11100011-11111110
|
|
// CHECK-INST: bf1cvt { z30.h, z31.h }, z31.b
|
|
// CHECK-ENCODING: [0xfe,0xe3,0x66,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c166e3fe <unknown>
|
|
|
|
bf1cvtl {z0.h-z1.h}, z0.b // 11000001-01100110-11100000-00000001
|
|
// CHECK-INST: bf1cvtl { z0.h, z1.h }, z0.b
|
|
// CHECK-ENCODING: [0x01,0xe0,0x66,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c166e001 <unknown>
|
|
|
|
bf1cvtl {z30.h-z31.h}, z31.b // 11000001-01100110-11100011-11111111
|
|
// CHECK-INST: bf1cvtl { z30.h, z31.h }, z31.b
|
|
// CHECK-ENCODING: [0xff,0xe3,0x66,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c166e3ff <unknown>
|
|
|
|
bf2cvt {z0.h-z1.h}, z0.b // 11000001-11100110-11100000-00000000
|
|
// CHECK-INST: bf2cvt { z0.h, z1.h }, z0.b
|
|
// CHECK-ENCODING: [0x00,0xe0,0xe6,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c1e6e000 <unknown>
|
|
|
|
bf2cvt {z30.h-z31.h}, z31.b // 11000001-11100110-11100011-11111110
|
|
// CHECK-INST: bf2cvt { z30.h, z31.h }, z31.b
|
|
// CHECK-ENCODING: [0xfe,0xe3,0xe6,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c1e6e3fe <unknown>
|
|
|
|
bf2cvtl {z0.h-z1.h}, z0.b // 11000001-11100110-11100000-00000001
|
|
// CHECK-INST: bf2cvtl { z0.h, z1.h }, z0.b
|
|
// CHECK-ENCODING: [0x01,0xe0,0xe6,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c1e6e001 <unknown>
|
|
|
|
bf2cvtl {z30.h-z31.h}, z31.b // 11000001-11100110-11100011-11111111
|
|
// CHECK-INST: bf2cvtl { z30.h, z31.h }, z31.b
|
|
// CHECK-ENCODING: [0xff,0xe3,0xe6,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c1e6e3ff <unknown>
|
|
|
|
f2cvt {z0.h-z1.h}, z0.b // 11000001-10100110-11100000-00000000
|
|
// CHECK-INST: f2cvt { z0.h, z1.h }, z0.b
|
|
// CHECK-ENCODING: [0x00,0xe0,0xa6,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c1a6e000 <unknown>
|
|
|
|
f2cvt {z30.h-z31.h}, z31.b // 11000001-10100110-11100011-11111110
|
|
// CHECK-INST: f2cvt { z30.h, z31.h }, z31.b
|
|
// CHECK-ENCODING: [0xfe,0xe3,0xa6,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c1a6e3fe <unknown>
|
|
|
|
f2cvtl {z0.h-z1.h}, z0.b // 11000001-10100110-11100000-00000001
|
|
// CHECK-INST: f2cvtl { z0.h, z1.h }, z0.b
|
|
// CHECK-ENCODING: [0x01,0xe0,0xa6,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c1a6e001 <unknown>
|
|
|
|
f2cvtl {z30.h-z31.h}, z31.b // 11000001-10100110-11100011-11111111
|
|
// CHECK-INST: f2cvtl { z30.h, z31.h }, z31.b
|
|
// CHECK-ENCODING: [0xff,0xe3,0xa6,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c1a6e3ff <unknown>
|
|
|
|
fcvt z0.b, {z0.h-z1.h} // 11000001-00100100-11100000-00000000
|
|
// CHECK-INST: fcvt z0.b, { z0.h, z1.h }
|
|
// CHECK-ENCODING: [0x00,0xe0,0x24,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c124e000 <unknown>
|
|
|
|
fcvt z31.b, {z30.h-z31.h} // 11000001-00100100-11100011-11011111
|
|
// CHECK-INST: fcvt z31.b, { z30.h, z31.h }
|
|
// CHECK-ENCODING: [0xdf,0xe3,0x24,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c124e3df <unknown>
|
|
|
|
fcvt z0.b, {z0.s-z3.s} // 11000001-00110100-11100000-00000000
|
|
// CHECK-INST: fcvt z0.b, { z0.s - z3.s }
|
|
// CHECK-ENCODING: [0x00,0xe0,0x34,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c134e000 <unknown>
|
|
|
|
fcvt z31.b, {z28.s-z31.s} // 11000001-00110100-11100011-10011111
|
|
// CHECK-INST: fcvt z31.b, { z28.s - z31.s }
|
|
// CHECK-ENCODING: [0x9f,0xe3,0x34,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c134e39f <unknown>
|
|
|
|
fcvtn z0.b, {z0.s-z3.s} // 11000001-00110100-11100000-00100000
|
|
// CHECK-INST: fcvtn z0.b, { z0.s - z3.s }
|
|
// CHECK-ENCODING: [0x20,0xe0,0x34,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c134e020 <unknown>
|
|
|
|
fcvtn z31.b, {z28.s-z31.s} // 11000001-00110100-11100011-10111111
|
|
// CHECK-INST: fcvtn z31.b, { z28.s - z31.s }
|
|
// CHECK-ENCODING: [0xbf,0xe3,0x34,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c134e3bf <unknown>
|
|
|
|
bfcvt z0.b, {z0.h-z1.h} // 11000001-01100100-11100000-00000000
|
|
// CHECK-INST: bfcvt z0.b, { z0.h, z1.h }
|
|
// CHECK-ENCODING: [0x00,0xe0,0x64,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c164e000 <unknown>
|
|
|
|
bfcvt z31.b, {z30.h-z31.h} // 11000001-01100100-11100011-11011111
|
|
// CHECK-INST: bfcvt z31.b, { z30.h, z31.h }
|
|
// CHECK-ENCODING: [0xdf,0xe3,0x64,0xc1]
|
|
// CHECK-ERROR: instruction requires: fp8 sme2
|
|
// CHECK-UNKNOWN: c164e3df <unknown>
|