Debian Codegraph @

llvm/test/MC/RISCV/rvv/zvknh-invalid.s

raw
1 # RUN: not llvm-mc -triple=riscv64 --mattr=+zve64x --mattr=+zvknha %s 2>&1 \
2 # RUN: | FileCheck %s --check-prefix=CHECK-ERROR
3
4 vsha2ms.vv v10, v10, v11
5 # CHECK-ERROR: the destination vector register group cannot overlap the source vector register group
6 # CHECK-ERROR-LABEL: vsha2ms.vv v10, v10, v11
7
8 vsha2ms.vv v11, v10, v11
9 # CHECK-ERROR: the destination vector register group cannot overlap the source vector register group
10 # CHECK-ERROR-LABEL: vsha2ms.vv v11, v10, v11
11
12 vsha2ch.vv v12, v12, v11
13 # CHECK-ERROR: the destination vector register group cannot overlap the source vector register group
14 # CHECK-ERROR-LABEL: vsha2ch.vv v12, v12, v11
15
16 vsha2ch.vv v11, v12, v11
17 # CHECK-ERROR: the destination vector register group cannot overlap the source vector register group
18 # CHECK-ERROR-LABEL: vsha2ch.vv v11, v12, v11
19
20 vsha2cl.vv v13, v13, v15
21 # CHECK-ERROR: the destination vector register group cannot overlap the source vector register group
22 # CHECK-ERROR-LABEL: vsha2cl.vv v13, v13, v15
23
24 vsha2cl.vv v15, v13, v15
25 # CHECK-ERROR: the destination vector register group cannot overlap the source vector register group
26 # CHECK-ERROR-LABEL: vsha2cl.vv v15, v13, v15