# RUN: llvm-mc -triple=riscv64 -show-encoding --mattr=+xtheadvdot %s \ # RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST # RUN: not llvm-mc -triple=riscv64 -show-encoding %s 2>&1 \ # RUN: | FileCheck %s --check-prefix=CHECK-ERROR # RUN: llvm-mc -triple=riscv64 -filetype=obj --mattr=+xtheadvdot %s \ # RUN: | llvm-objdump -d --mattr=+xtheadvdot - \ # RUN: | FileCheck %s --check-prefix=CHECK-INST # RUN: llvm-mc -triple=riscv64 -filetype=obj --mattr=+xtheadvdot %s \ # RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-UNKNOWN th.vmaqau.vv v8, v20, v4, v0.t # CHECK-INST: th.vmaqau.vv v8, v20, v4, v0.t # CHECK-ENCODING: [0x0b,0x64,0x4a,0x88] # CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}} # CHECK-UNKNOWN: 884a640b th.vmaqau.vv v8, v20, v4 # CHECK-INST: th.vmaqau.vv v8, v20, v4 # CHECK-ENCODING: [0x0b,0x64,0x4a,0x8a] # CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}} # CHECK-UNKNOWN: 8a4a640b th.vmaqau.vx v8, a0, v4, v0.t # CHECK-INST: th.vmaqau.vx v8, a0, v4, v0.t # CHECK-ENCODING: [0x0b,0x64,0x45,0x8c] # CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}} # CHECK-UNKNOWN: 8c45640b th.vmaqau.vx v8, a0, v4 # CHECK-INST: th.vmaqau.vx v8, a0, v4 # CHECK-ENCODING: [0x0b,0x64,0x45,0x8e] # CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}} # CHECK-UNKNOWN: 8e45640b th.vmaqa.vv v8, v20, v4, v0.t # CHECK-INST: th.vmaqa.vv v8, v20, v4, v0.t # CHECK-ENCODING: [0x0b,0x64,0x4a,0x80] # CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}} # CHECK-UNKNOWN: 804a640b th.vmaqa.vv v8, v20, v4 # CHECK-INST: th.vmaqa.vv v8, v20, v4 # CHECK-ENCODING: [0x0b,0x64,0x4a,0x82] # CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}} # CHECK-UNKNOWN: 824a640b th.vmaqa.vx v8, a0, v4, v0.t # CHECK-INST: th.vmaqa.vx v8, a0, v4, v0.t # CHECK-ENCODING: [0x0b,0x64,0x45,0x84] # CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}} # CHECK-UNKNOWN: 8445640b th.vmaqa.vx v8, a0, v4 # CHECK-INST: th.vmaqa.vx v8, a0, v4 # CHECK-ENCODING: [0x0b,0x64,0x45,0x86] # CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}} # CHECK-UNKNOWN: 8645640b th.vmaqasu.vv v8, v20, v4, v0.t # CHECK-INST: th.vmaqasu.vv v8, v20, v4, v0.t # CHECK-ENCODING: [0x0b,0x64,0x4a,0x90] # CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}} # CHECK-UNKNOWN: 904a640b th.vmaqasu.vv v8, v20, v4 # CHECK-INST: th.vmaqasu.vv v8, v20, v4 # CHECK-ENCODING: [0x0b,0x64,0x4a,0x92] # CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}} # CHECK-UNKNOWN: 924a640b th.vmaqasu.vx v8, a0, v4, v0.t # CHECK-INST: th.vmaqasu.vx v8, a0, v4, v0.t # CHECK-ENCODING: [0x0b,0x64,0x45,0x94] # CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}} # CHECK-UNKNOWN: 9445640b th.vmaqasu.vx v8, a0, v4 # CHECK-INST: th.vmaqasu.vx v8, a0, v4 # CHECK-ENCODING: [0x0b,0x64,0x45,0x96] # CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}} # CHECK-UNKNOWN: 9645640b th.vmaqaus.vx v8, a0, v4, v0.t # CHECK-INST: th.vmaqaus.vx v8, a0, v4, v0.t # CHECK-ENCODING: [0x0b,0x64,0x45,0x9c] # CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}} # CHECK-UNKNOWN: 9c45640b th.vmaqaus.vx v8, a0, v4 # CHECK-INST: th.vmaqaus.vx v8, a0, v4 # CHECK-ENCODING: [0x0b,0x64,0x45,0x9e] # CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}} # CHECK-UNKNOWN: 9e45640b