1 # RUN: llvm-mc -triple=aarch64 -mattr=+i8mm -disassemble < %s | FileCheck %s
2 # RUN: llvm-mc -triple=aarch64 -mattr=+v8.6a -disassemble < %s | FileCheck %s
3 # RUN: not llvm-mc -triple=aarch64 -mattr=+v8.5a -disassemble < %s 2>&1 | FileCheck %s --check-prefix=NOI8MM
8 # CHECK: smmla v1.4s, v16.16b, v31.16b
9 # CHECK: ummla v1.4s, v16.16b, v31.16b
10 # CHECK: usmmla v1.4s, v16.16b, v31.16b
11 # NOI8MM: [[@LINE-6]]:{{[0-9]+}}: warning: invalid instruction encoding
12 # NOI8MM: [[@LINE-6]]:{{[0-9]+}}: warning: invalid instruction encoding
13 # NOI8MM: [[@LINE-6]]:{{[0-9]+}}: warning: invalid instruction encoding
17 # CHECK: usdot v3.2s, v15.8b, v30.8b
18 # CHECK: usdot v3.4s, v15.16b, v30.16b
19 # NOI8MM: [[@LINE-4]]:{{[0-9]+}}: warning: invalid instruction encoding
20 # NOI8MM: [[@LINE-4]]:{{[0-9]+}}: warning: invalid instruction encoding
24 # CHECK: usdot v31.2s, v1.8b, v2.4b[3]
25 # CHECK: usdot v31.4s, v1.16b, v2.4b[3]
26 # NOI8MM: [[@LINE-4]]:{{[0-9]+}}: warning: invalid instruction encoding
27 # NOI8MM: [[@LINE-4]]:{{[0-9]+}}: warning: invalid instruction encoding
31 # CHECK: sudot v31.2s, v1.8b, v2.4b[3]
32 # CHECK: sudot v31.4s, v1.16b, v2.4b[3]
33 # NOI8MM: [[@LINE-4]]:{{[0-9]+}}: warning: invalid instruction encoding
34 # NOI8MM: [[@LINE-4]]:{{[0-9]+}}: warning: invalid instruction encoding