brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.5 KiB · 0643379 Raw
52 lines · plain
1# XAndesVDot - Andes Vector Dot Product Extension2# RUN: llvm-mc %s -triple=riscv32 -mattr=+xandesvdot -show-encoding \3# RUN:     | FileCheck -check-prefixes=CHECK-ASM %s4# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+xandesvdot < %s \5# RUN:     | llvm-objdump --mattr=+xandesvdot -M no-aliases -d -r - \6# RUN:     | FileCheck -check-prefixes=CHECK-OBJ %s7# RUN: not llvm-mc -triple=riscv32 -show-encoding %s 2>&1 \8# RUN:        | FileCheck %s --check-prefix=CHECK-ERROR9# RUN: llvm-mc %s -triple=riscv64 -mattr=+xandesvdot -show-encoding \10# RUN:     | FileCheck -check-prefixes=CHECK-ASM %s11# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+xandesvdot < %s \12# RUN:     | llvm-objdump --mattr=+xandesvdot -M no-aliases -d -r - \13# RUN:     | FileCheck -check-prefixes=CHECK-OBJ %s14# RUN: not llvm-mc -triple=riscv64 -show-encoding %s 2>&1 \15# RUN:        | FileCheck %s --check-prefix=CHECK-ERROR16 17# CHECK-OBJ: nds.vd4dots.vv v8, v10, v1218# CHECK-ASM: nds.vd4dots.vv v8, v10, v1219# CHECK-ASM: encoding: [0x5b,0x44,0xc5,0x12]20# CHECK-ERROR: instruction requires the following: 'XAndesVDot' (Andes Vector Dot Product Extension){{$}}21nds.vd4dots.vv v8, v10, v1222 23# CHECK-OBJ: nds.vd4dots.vv v8, v10, v12, v0.t24# CHECK-ASM: nds.vd4dots.vv v8, v10, v12, v0.t25# CHECK-ASM: encoding: [0x5b,0x44,0xc5,0x10]26# CHECK-ERROR: instruction requires the following: 'XAndesVDot' (Andes Vector Dot Product Extension){{$}}27nds.vd4dots.vv v8, v10, v12, v0.t28 29# CHECK-OBJ: nds.vd4dotu.vv v8, v10, v1230# CHECK-ASM: nds.vd4dotu.vv v8, v10, v1231# CHECK-ASM: encoding: [0x5b,0x44,0xc5,0x1e]32# CHECK-ERROR: instruction requires the following: 'XAndesVDot' (Andes Vector Dot Product Extension){{$}}33nds.vd4dotu.vv v8, v10, v1234 35# CHECK-OBJ: nds.vd4dotu.vv v8, v10, v12, v0.t36# CHECK-ASM: nds.vd4dotu.vv v8, v10, v12, v0.t37# CHECK-ASM: encoding: [0x5b,0x44,0xc5,0x1c]38# CHECK-ERROR: instruction requires the following: 'XAndesVDot' (Andes Vector Dot Product Extension){{$}}39nds.vd4dotu.vv v8, v10, v12, v0.t40 41# CHECK-OBJ: nds.vd4dotsu.vv v8, v10, v1242# CHECK-ASM: nds.vd4dotsu.vv v8, v10, v1243# CHECK-ASM: encoding: [0x5b,0x44,0xc5,0x16]44# CHECK-ERROR: instruction requires the following: 'XAndesVDot' (Andes Vector Dot Product Extension){{$}}45nds.vd4dotsu.vv v8, v10, v1246 47# CHECK-OBJ: nds.vd4dotsu.vv v8, v10, v12, v0.t48# CHECK-ASM: nds.vd4dotsu.vv v8, v10, v12, v0.t49# CHECK-ASM: encoding: [0x5b,0x44,0xc5,0x14]50# CHECK-ERROR: instruction requires the following: 'XAndesVDot' (Andes Vector Dot Product Extension){{$}}51nds.vd4dotsu.vv v8, v10, v12, v0.t52