• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 -mattr=-dotprod --disassemble < %s 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR
5
60x20,0x94,0x82,0x2e
70x20,0x94,0x82,0x0e
80x20,0x94,0x82,0x6e
90x20,0x94,0x82,0x4e
100x20,0xe0,0x82,0x2f
110x20,0xe0,0xa2,0x0f
120x20,0xe8,0x82,0x6f
130x20,0xe8,0xa2,0x4f
14
15#CHECK:  udot  v0.2s, v1.8b, v2.8b
16#CHECK:  sdot  v0.2s, v1.8b, v2.8b
17#CHECK:  udot  v0.4s, v1.16b, v2.16b
18#CHECK:  sdot  v0.4s, v1.16b, v2.16b
19#CHECK:  udot  v0.2s, v1.8b, v2.4b[0]
20#CHECK:  sdot  v0.2s, v1.8b, v2.4b[1]
21#CHECK:  udot  v0.4s, v1.16b, v2.4b[2]
22#CHECK:  sdot  v0.4s, v1.16b, v2.4b[3]
23
24# CHECK-ERROR:  invalid instruction encoding
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