brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.5 KiB · 83f5b78 Raw
47 lines · plain
1// RUN: llvm-mc -triple thumb -mattr=+dotprod -show-encoding < %s | FileCheck %s  --check-prefix=CHECK2// RUN: llvm-mc -triple thumb -mcpu=cortex-a55 -show-encoding < %s | FileCheck %s  --check-prefix=CHECK3// RUN: llvm-mc -triple thumb -mcpu=cortex-a75 -show-encoding < %s | FileCheck %s  --check-prefix=CHECK4// RUN: llvm-mc -triple thumb -mcpu=cortex-a76 -show-encoding < %s | FileCheck %s  --check-prefix=CHECK5// RUN: llvm-mc -triple thumb -mcpu=cortex-a77 -show-encoding < %s | FileCheck %s --check-prefix=CHECK6// RUN: llvm-mc -triple thumb -mcpu=cortex-a78 -show-encoding < %s | FileCheck %s --check-prefix=CHECK7// RUN: llvm-mc -triple thumb -mcpu=cortex-x1 -show-encoding < %s | FileCheck %s --check-prefix=CHECK8// RUN: llvm-mc -triple thumb -mcpu=neoverse-n1 -show-encoding < %s | FileCheck %s --check-prefix=CHECK9// RUN: llvm-mc -triple thumb -mcpu=neoverse-n2 -show-encoding < %s | FileCheck %s --check-prefix=CHECK10 11// RUN: not llvm-mc -triple thumb -mattr=-dotprod -show-encoding < %s 2> %t12// RUN: FileCheck --check-prefix=CHECK-ERROR < %t %s13// RUN: not llvm-mc -triple thumb -show-encoding < %s 2> %t14// RUN: FileCheck --check-prefix=CHECK-ERROR < %t %s15// RUN: not llvm-mc -triple thumb -mattr=+v8.1a -show-encoding < %s 2> %t16// RUN: FileCheck --check-prefix=CHECK-ERROR < %t %s17// RUN: not llvm-mc -triple thumb -mattr=+v8.2a -show-encoding < %s 2> %t18// RUN: FileCheck --check-prefix=CHECK-ERROR < %t %s19 20  vudot.u8  d0, d1, d221  vsdot.s8  d0, d1, d222  vudot.u8  q0, q1, q423  vsdot.s8  q0, q1, q424  vudot.u8  d0, d1, d2[0]25  vsdot.s8  d0, d1, d2[1]26  vudot.u8  q0, q1, d4[0]27  vsdot.s8  q0, q1, d4[1]28 29//CHECK:  vudot.u8  d0, d1, d2      @ encoding: [0x21,0xfc,0x12,0x0d]30//CHECK:  vsdot.s8  d0, d1, d2      @ encoding: [0x21,0xfc,0x02,0x0d]31//CHECK:  vudot.u8  q0, q1, q4      @ encoding: [0x22,0xfc,0x58,0x0d]32//CHECK:  vsdot.s8  q0, q1, q4      @ encoding: [0x22,0xfc,0x48,0x0d]33//CHECK:  vudot.u8  d0, d1, d2[0]   @ encoding: [0x21,0xfe,0x12,0x0d]34//CHECK:  vsdot.s8  d0, d1, d2[1]   @ encoding: [0x21,0xfe,0x22,0x0d]35//CHECK:  vudot.u8  q0, q1, d4[0]   @ encoding: [0x22,0xfe,0x54,0x0d]36//CHECK:  vsdot.s8  q0, q1, d4[1]   @ encoding: [0x22,0xfe,0x64,0x0d]37 38//CHECK-ERROR: error: instruction requires: dotprod39//CHECK-ERROR: error: instruction requires: dotprod40//CHECK-ERROR: error: instruction requires: dotprod41//CHECK-ERROR: error: instruction requires: dotprod42//CHECK-ERROR: error: instruction requires: dotprod43//CHECK-ERROR: error: instruction requires: dotprod44//CHECK-ERROR: error: instruction requires: dotprod45//CHECK-ERROR: error: instruction requires: dotprod46 47