brintos

brintos / llvm-project-archived public Read only

0
0
Text · 4.0 KiB · ecae431 Raw
94 lines · plain
1# RUN: llvm-mc -triple=riscv64 -show-encoding --mattr=+xtheadvdot %s \2# RUN:        | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST3# RUN: not llvm-mc -triple=riscv64 -show-encoding %s 2>&1 \4# RUN:        | FileCheck %s --check-prefix=CHECK-ERROR5# RUN: llvm-mc -triple=riscv64 -filetype=obj --mattr=+xtheadvdot %s \6# RUN:        | llvm-objdump -d --mattr=+xtheadvdot - \7# RUN:        | FileCheck %s --check-prefix=CHECK-INST8# RUN: llvm-mc -triple=riscv64 -filetype=obj --mattr=+xtheadvdot %s \9# RUN:        | llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-UNKNOWN10 11th.vmaqau.vv v8, v20, v4, v0.t12# CHECK-INST: th.vmaqau.vv v8, v20, v4, v0.t13# CHECK-ENCODING: [0x0b,0x64,0x4a,0x88]14# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}}15# CHECK-UNKNOWN: 884a640b <unknown>16 17th.vmaqau.vv v8, v20, v418# CHECK-INST: th.vmaqau.vv v8, v20, v419# CHECK-ENCODING: [0x0b,0x64,0x4a,0x8a]20# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}}21# CHECK-UNKNOWN: 8a4a640b <unknown>22 23th.vmaqau.vx v8, a0, v4, v0.t24# CHECK-INST: th.vmaqau.vx v8, a0, v4, v0.t25# CHECK-ENCODING: [0x0b,0x64,0x45,0x8c]26# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}}27# CHECK-UNKNOWN: 8c45640b <unknown>28 29th.vmaqau.vx v8, a0, v430# CHECK-INST: th.vmaqau.vx v8, a0, v431# CHECK-ENCODING: [0x0b,0x64,0x45,0x8e]32# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}}33# CHECK-UNKNOWN: 8e45640b <unknown>34 35th.vmaqa.vv v8, v20, v4, v0.t36# CHECK-INST: th.vmaqa.vv v8, v20, v4, v0.t37# CHECK-ENCODING: [0x0b,0x64,0x4a,0x80]38# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}}39# CHECK-UNKNOWN: 804a640b <unknown>40 41th.vmaqa.vv v8, v20, v442# CHECK-INST: th.vmaqa.vv v8, v20, v443# CHECK-ENCODING: [0x0b,0x64,0x4a,0x82]44# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}}45# CHECK-UNKNOWN: 824a640b <unknown>46 47th.vmaqa.vx v8, a0, v4, v0.t48# CHECK-INST: th.vmaqa.vx v8, a0, v4, v0.t49# CHECK-ENCODING: [0x0b,0x64,0x45,0x84]50# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}}51# CHECK-UNKNOWN: 8445640b <unknown>52 53th.vmaqa.vx v8, a0, v454# CHECK-INST: th.vmaqa.vx v8, a0, v455# CHECK-ENCODING: [0x0b,0x64,0x45,0x86]56# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}}57# CHECK-UNKNOWN: 8645640b <unknown>58 59th.vmaqasu.vv v8, v20, v4, v0.t60# CHECK-INST: th.vmaqasu.vv v8, v20, v4, v0.t61# CHECK-ENCODING: [0x0b,0x64,0x4a,0x90]62# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}}63# CHECK-UNKNOWN: 904a640b <unknown>64 65th.vmaqasu.vv v8, v20, v466# CHECK-INST: th.vmaqasu.vv v8, v20, v467# CHECK-ENCODING: [0x0b,0x64,0x4a,0x92]68# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}}69# CHECK-UNKNOWN: 924a640b <unknown>70 71th.vmaqasu.vx v8, a0, v4, v0.t72# CHECK-INST: th.vmaqasu.vx v8, a0, v4, v0.t73# CHECK-ENCODING: [0x0b,0x64,0x45,0x94]74# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}}75# CHECK-UNKNOWN: 9445640b <unknown>76 77th.vmaqasu.vx v8, a0, v478# CHECK-INST: th.vmaqasu.vx v8, a0, v479# CHECK-ENCODING: [0x0b,0x64,0x45,0x96]80# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}}81# CHECK-UNKNOWN: 9645640b <unknown>82 83th.vmaqaus.vx v8, a0, v4, v0.t84# CHECK-INST: th.vmaqaus.vx v8, a0, v4, v0.t85# CHECK-ENCODING: [0x0b,0x64,0x45,0x9c]86# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}}87# CHECK-UNKNOWN: 9c45640b <unknown>88 89th.vmaqaus.vx v8, a0, v490# CHECK-INST: th.vmaqaus.vx v8, a0, v491# CHECK-ENCODING: [0x0b,0x64,0x45,0x9e]92# CHECK-ERROR: instruction requires the following: 'XTHeadVdot' (T-Head Vector Extensions for Dot){{$}}93# CHECK-UNKNOWN: 9e45640b <unknown>94