|
1 | 1 | # RUN: llvm-mc -triple=riscv32 -show-encoding -mattr=+zvfbfwma %s \ |
2 | 2 | # RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST |
3 | | -# RUN: llvm-mc -triple=riscv32 -show-encoding -mattr=+experimental-zvfbfa %s \ |
4 | | -# RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST |
5 | 3 | # RUN: not llvm-mc -triple=riscv32 -show-encoding -mattr=+v,+f %s 2>&1 \ |
6 | 4 | # RUN: | FileCheck %s --check-prefix=CHECK-ERROR |
7 | 5 | # RUN: llvm-mc -triple=riscv32 -filetype=obj -mattr=+zvfbfwma %s \ |
8 | 6 | # RUN: | llvm-objdump -d --mattr=+zvfbfwma --no-print-imm-hex - \ |
9 | 7 | # RUN: | FileCheck %s --check-prefix=CHECK-INST |
10 | | -# RUN: llvm-mc -triple=riscv32 -filetype=obj -mattr=+experimental-zvfbfa %s \ |
11 | | -# RUN: | llvm-objdump -d --mattr=+experimental-zvfbfa --no-print-imm-hex - \ |
12 | | -# RUN: | FileCheck %s --check-prefix=CHECK-INST |
13 | 8 | # RUN: llvm-mc -triple=riscv32 -filetype=obj -mattr=+zvfbfwma %s \ |
14 | 9 | # RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-UNKNOWN |
15 | | -# RUN: llvm-mc -triple=riscv32 -filetype=obj -mattr=+experimental-zvfbfa %s \ |
16 | | -# RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-UNKNOWN |
17 | 10 | # RUN: llvm-mc -triple=riscv64 -show-encoding -mattr=+zvfbfwma %s \ |
18 | 11 | # RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST |
19 | | -# RUN: llvm-mc -triple=riscv64 -show-encoding -mattr=+experimental-zvfbfa %s \ |
20 | | -# RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST |
21 | 12 | # RUN: not llvm-mc -triple=riscv64 -show-encoding -mattr=+v,+f %s 2>&1 \ |
22 | 13 | # RUN: | FileCheck %s --check-prefix=CHECK-ERROR |
23 | 14 | # RUN: llvm-mc -triple=riscv64 -filetype=obj -mattr=+zvfbfwma %s \ |
24 | 15 | # RUN: | llvm-objdump -d --mattr=+zvfbfwma --no-print-imm-hex - \ |
25 | 16 | # RUN: | FileCheck %s --check-prefix=CHECK-INST |
26 | | -# RUN: llvm-mc -triple=riscv64 -filetype=obj -mattr=+experimental-zvfbfa %s \ |
27 | | -# RUN: | llvm-objdump -d --mattr=+experimental-zvfbfa --no-print-imm-hex - \ |
28 | | -# RUN: | FileCheck %s --check-prefix=CHECK-INST |
29 | 17 | # RUN: llvm-mc -triple=riscv64 -filetype=obj -mattr=+zvfbfwma %s \ |
30 | 18 | # RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-UNKNOWN |
31 | | -# RUN: llvm-mc -triple=riscv64 -filetype=obj -mattr=+experimental-zvfbfa %s \ |
32 | | -# RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-UNKNOWN |
33 | 19 |
|
34 | 20 | # CHECK-INST: vfwmaccbf16.vv v8, v20, v4, v0.t |
35 | 21 | # CHECK-ENCODING: [0x57,0x14,0x4a,0xec] |
36 | | -# CHECK-ERROR: instruction requires the following: 'Zvfbfwma' (Vector BF16 widening mul-add) or 'Zvfbfa' (Additional BF16 vector compute support){{$}} |
| 22 | +# CHECK-ERROR: instruction requires the following: 'Zvfbfwma' (Vector BF16 widening mul-add){{$}} |
37 | 23 | # CHECK-UNKNOWN: ec4a1457 <unknown> |
38 | 24 | vfwmaccbf16.vv v8, v20, v4, v0.t |
39 | 25 |
|
40 | 26 | # CHECK-INST: vfwmaccbf16.vv v8, v20, v4 |
41 | 27 | # CHECK-ENCODING: [0x57,0x14,0x4a,0xee] |
42 | | -# CHECK-ERROR: instruction requires the following: 'Zvfbfwma' (Vector BF16 widening mul-add) or 'Zvfbfa' (Additional BF16 vector compute support){{$}} |
| 28 | +# CHECK-ERROR: instruction requires the following: 'Zvfbfwma' (Vector BF16 widening mul-add){{$}} |
43 | 29 | # CHECK-UNKNOWN: ee4a1457 <unknown> |
44 | 30 | vfwmaccbf16.vv v8, v20, v4 |
45 | 31 |
|
46 | 32 | # CHECK-INST: vfwmaccbf16.vf v8, fa0, v4, v0.t |
47 | 33 | # CHECK-ENCODING: [0x57,0x54,0x45,0xec] |
48 | | -# CHECK-ERROR: instruction requires the following: 'Zvfbfwma' (Vector BF16 widening mul-add) or 'Zvfbfa' (Additional BF16 vector compute support){{$}} |
| 34 | +# CHECK-ERROR: instruction requires the following: 'Zvfbfwma' (Vector BF16 widening mul-add){{$}} |
49 | 35 | # CHECK-UNKNOWN: ec455457 <unknown> |
50 | 36 | vfwmaccbf16.vf v8, fa0, v4, v0.t |
51 | 37 |
|
52 | 38 | # CHECK-INST: vfwmaccbf16.vf v8, fa0, v4 |
53 | 39 | # CHECK-ENCODING: [0x57,0x54,0x45,0xee] |
54 | | -# CHECK-ERROR: instruction requires the following: 'Zvfbfwma' (Vector BF16 widening mul-add) or 'Zvfbfa' (Additional BF16 vector compute support){{$}} |
| 40 | +# CHECK-ERROR: instruction requires the following: 'Zvfbfwma' (Vector BF16 widening mul-add){{$}} |
55 | 41 | # CHECK-UNKNOWN: ee455457 <unknown> |
56 | 42 | vfwmaccbf16.vf v8, fa0, v4 |
0 commit comments