1# RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+dotprod --disassemble < %s | FileCheck %s 2# RUN: llvm-mc -triple aarch64-none-linux-gnu -mcpu=cortex-a75 --disassemble < %s | FileCheck %s 3# RUN: llvm-mc -triple aarch64-none-linux-gnu -mcpu=cortex-a55 --disassemble < %s | FileCheck %s 4# RUN: llvm-mc -triple aarch64-none-linux-gnu -mcpu=tsv110 --disassemble < %s | FileCheck %s 5# RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=-dotprod --disassemble < %s 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR 6 70x20,0x94,0x82,0x2e 80x20,0x94,0x82,0x0e 90x20,0x94,0x82,0x6e 100x20,0x94,0x82,0x4e 110x20,0xe0,0x82,0x2f 120x20,0xe0,0xa2,0x0f 130x20,0xe8,0x82,0x6f 140x20,0xe8,0xa2,0x4f 15 16#CHECK: udot v0.2s, v1.8b, v2.8b 17#CHECK: sdot v0.2s, v1.8b, v2.8b 18#CHECK: udot v0.4s, v1.16b, v2.16b 19#CHECK: sdot v0.4s, v1.16b, v2.16b 20#CHECK: udot v0.2s, v1.8b, v2.4b[0] 21#CHECK: sdot v0.2s, v1.8b, v2.4b[1] 22#CHECK: udot v0.4s, v1.16b, v2.4b[2] 23#CHECK: sdot v0.4s, v1.16b, v2.4b[3] 24 25# CHECK-ERROR: invalid instruction encoding 26# CHECK-ERROR: invalid instruction encoding 27# CHECK-ERROR: invalid instruction encoding 28# CHECK-ERROR: invalid instruction encoding 29# CHECK-ERROR: invalid instruction encoding 30# CHECK-ERROR: invalid instruction encoding 31# CHECK-ERROR: invalid instruction encoding 32# CHECK-ERROR: invalid instruction encoding 33