• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN:     llvm-mc -triple=thumbv8a -mattr=+i8mm  -disassemble < %s      | FileCheck %s
2# RUN: not llvm-mc -triple=thumbv8a -mattr=+v8.4a -disassemble < %s 2>&1 | FileCheck %s --check-prefix=NOMATMUL
3
4[0x22,0xfc,0x44,0x0c]
5# CHECK: vsmmla.s8 q0, q1, q2
6# NOMATMUL: :[[@LINE-2]]:{{[0-9]+}}: warning: invalid instruction encoding
7
8[0x22,0xfc,0x54,0x0c]
9# CHECK: vummla.u8 q0, q1, q2
10# NOMATMUL: :[[@LINE-2]]:{{[0-9]+}}: warning: invalid instruction encoding
11
12[0xa2,0xfc,0x44,0x0c]
13# CHECK: vusmmla.s8 q0, q1, q2
14# NOMATMUL: :[[@LINE-2]]:{{[0-9]+}}: warning: invalid instruction encoding
15
16[0xa1,0xfc,0x02,0x0d]
17# CHECK: vusdot.s8 d0, d1, d2
18# NOMATMUL: :[[@LINE-2]]:{{[0-9]+}}: warning: invalid instruction encoding
19
20[0xa2,0xfc,0x44,0x0d]
21# CHECK: vusdot.s8 q0, q1, q2
22# NOMATMUL: :[[@LINE-2]]:{{[0-9]+}}: warning: invalid instruction encoding
23
24[0x81,0xfe,0x02,0x0d]
25# CHECK: vusdot.s8 d0, d1, d2[0]
26# NOMATMUL: :[[@LINE-2]]:{{[0-9]+}}: warning: invalid instruction encoding
27
28[0x81,0xfe,0x32,0x0d]
29# CHECK: vsudot.u8 d0, d1, d2[1]
30# NOMATMUL: :[[@LINE-2]]:{{[0-9]+}}: warning: invalid instruction encoding
31
32[0x82,0xfe,0x42,0x0d]
33# CHECK: vusdot.s8 q0, q1, d2[0]
34# NOMATMUL: :[[@LINE-2]]:{{[0-9]+}}: warning: invalid instruction encoding
35
36[0x82,0xfe,0x72,0x0d]
37# CHECK: vsudot.u8 q0, q1, d2[1]
38# NOMATMUL: :[[@LINE-2]]:{{[0-9]+}}: warning: invalid instruction encoding
39