|
| 1 | +# RUN: not llvm-mc -triple=riscv64 -show-encoding -mattr=+v,+xsfvqmaccqoq,+xsfvqmaccdod %s 2>&1 \ |
| 2 | +# RUN: | FileCheck %s --check-prefix=CHECK-ERROR |
| 3 | + |
| 4 | +sf.vqmaccu.2x8x2 v8, v8, v20 |
| 5 | +# CHECK-ERROR: the destination vector register group cannot overlap the source vector register group{{$}} |
| 6 | +# CHECK-ERROR-LABEL: sf.vqmaccu.2x8x2 v8, v8, v20 |
| 7 | + |
| 8 | +sf.vqmacc.2x8x2 v8, v8, v20 |
| 9 | +# CHECK-ERROR: the destination vector register group cannot overlap the source vector register group{{$}} |
| 10 | +# CHECK-ERROR-LABEL: sf.vqmacc.2x8x2 v8, v8, v20 |
| 11 | + |
| 12 | +sf.vqmaccus.2x8x2 v8, v8, v20 |
| 13 | +# CHECK-ERROR: the destination vector register group cannot overlap the source vector register group{{$}} |
| 14 | +# CHECK-ERROR-LABEL: sf.vqmaccus.2x8x2 v8, v8, v20 |
| 15 | + |
| 16 | +sf.vqmaccsu.2x8x2 v8, v8, v20 |
| 17 | +# CHECK-ERROR: the destination vector register group cannot overlap the source vector register group{{$}} |
| 18 | +# CHECK-ERROR-LABEL: sf.vqmaccsu.2x8x2 v8, v8, v20 |
| 19 | + |
| 20 | +sf.vqmaccu.4x8x4 v8, v8, v20 |
| 21 | +# CHECK-ERROR: the destination vector register group cannot overlap the source vector register group{{$}} |
| 22 | +# CHECK-ERROR-LABEL: sf.vqmaccu.4x8x4 v8, v8, v20 |
| 23 | + |
| 24 | +sf.vqmacc.4x8x4 v8, v8, v20 |
| 25 | +# CHECK-ERROR: the destination vector register group cannot overlap the source vector register group{{$}} |
| 26 | +# CHECK-ERROR-LABEL: sf.vqmacc.4x8x4 v8, v8, v20 |
| 27 | + |
| 28 | +sf.vqmaccus.4x8x4 v8, v8, v20 |
| 29 | +# CHECK-ERROR: the destination vector register group cannot overlap the source vector register group{{$}} |
| 30 | +# CHECK-ERROR-LABEL: sf.vqmaccus.4x8x4 v8, v8, v20 |
| 31 | + |
| 32 | +sf.vqmaccsu.4x8x4 v8, v8, v20 |
| 33 | +# CHECK-ERROR: the destination vector register group cannot overlap the source vector register group{{$}} |
| 34 | +# CHECK-ERROR-LABEL: sf.vqmaccsu.4x8x4 v8, v8, v20 |
| 35 | + |
| 36 | +sf.vqmaccu.4x8x4 v8, v4, v8 |
| 37 | +# CHECK-ERROR: the destination vector register group cannot overlap the source vector register group{{$}} |
| 38 | +# CHECK-ERROR-LABEL: sf.vqmaccu.4x8x4 v8, v4, v8 |
| 39 | + |
| 40 | +sf.vqmacc.4x8x4 v8, v4, v8 |
| 41 | +# CHECK-ERROR: the destination vector register group cannot overlap the source vector register group{{$}} |
| 42 | +# CHECK-ERROR-LABEL: sf.vqmacc.4x8x4 v8, v4, v8 |
| 43 | + |
| 44 | +sf.vqmaccus.4x8x4 v8, v4, v8 |
| 45 | +# CHECK-ERROR: the destination vector register group cannot overlap the source vector register group{{$}} |
| 46 | +# CHECK-ERROR-LABEL: sf.vqmaccus.4x8x4 v8, v4, v8 |
| 47 | + |
| 48 | +sf.vqmaccsu.4x8x4 v8, v4, v8 |
| 49 | +# CHECK-ERROR: the destination vector register group cannot overlap the source vector register group{{$}} |
| 50 | +# CHECK-ERROR-LABEL: sf.vqmaccsu.4x8x4 v8, v4, v8 |
0 commit comments