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
51 lines
2.5 KiB
ArmAsm
51 lines
2.5 KiB
ArmAsm
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve,+sve-bfscale < %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=+sve,+sve-bfscale < %s \
|
|
// RUN: | llvm-objdump -d --mattr=+sve,+sve-bfscale - | FileCheck %s --check-prefix=CHECK-INST
|
|
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve,+sve-bfscale < %s \
|
|
// RUN: | llvm-objdump -d --mattr=-sve-bfscale - | FileCheck %s --check-prefix=CHECK-UNKNOWN
|
|
// Disassemble encoding and check the re-encoding (-show-encoding) matches.
|
|
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve,+sve-bfscale < %s \
|
|
// RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \
|
|
// RUN: | llvm-mc -triple=aarch64 -mattr=+sve,+sve-bfscale -disassemble -show-encoding \
|
|
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
|
|
|
|
bfscale z0.h, p0/m, z0.h, z0.h // 01100101-00001001-10000000-00000000
|
|
// CHECK-INST: bfscale z0.h, p0/m, z0.h, z0.h
|
|
// CHECK-ENCODING: [0x00,0x80,0x09,0x65]
|
|
// CHECK-ERROR: instruction requires: sve-bfscale
|
|
// CHECK-UNKNOWN: 65098000 <unknown>
|
|
|
|
bfscale z21.h, p5/m, z21.h, z10.h // 01100101-00001001-10010101-01010101
|
|
// CHECK-INST: bfscale z21.h, p5/m, z21.h, z10.h
|
|
// CHECK-ENCODING: [0x55,0x95,0x09,0x65]
|
|
// CHECK-ERROR: instruction requires: sve-bfscale
|
|
// CHECK-UNKNOWN: 65099555 <unknown>
|
|
|
|
bfscale z31.h, p7/m, z31.h, z31.h // 01100101-00001001-10011111-11111111
|
|
// CHECK-INST: bfscale z31.h, p7/m, z31.h, z31.h
|
|
// CHECK-ENCODING: [0xff,0x9f,0x09,0x65]
|
|
// CHECK-ERROR: instruction requires: sve-bfscale
|
|
// CHECK-UNKNOWN: 65099fff <unknown>
|
|
|
|
// --------------------------------------------------------------------------//
|
|
// Test compatibility with MOVPRFX instruction.
|
|
|
|
movprfx z23.h, p3/m, z31.h
|
|
bfscale z23.h, p3/m, z23.h, z13.h // 01100101-00001001-10001101-10110111
|
|
// CHECK-INST: movprfx z23.h, p3/m, z31.h
|
|
// CHECK-INST: bfscale z23.h, p3/m, z23.h, z13.h
|
|
// CHECK-ENCODING: [0xb7,0x8d,0x09,0x65]
|
|
// CHECK-ERROR: instruction requires: sve-bfscale
|
|
// CHECK-UNKNOWN: 65098db7 <unknown>
|
|
|
|
movprfx z23, z31
|
|
bfscale z23.h, p3/m, z23.h, z13.h // 01100101-00001001-10001101-10110111
|
|
// CHECK-INST: movprfx z23, z31
|
|
// CHECK-INST: bfscale z23.h, p3/m, z23.h, z13.h
|
|
// CHECK-ENCODING: [0xb7,0x8d,0x09,0x65]
|
|
// CHECK-ERROR: instruction requires: sve-bfscale
|
|
// CHECK-UNKNOWN: 65098db7 <unknown>
|