Skip to content

Commit 3d51490

Browse files
authored
[RISCV] Fix typo in the description of xsfvfwmaccqqq. (#145771)
1 parent e1f224b commit 3d51490

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

clang/test/Driver/print-supported-extensions-riscv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
// CHECK-NEXT: xsfmmbase 0.6 'XSfmmbase' (All non arithmetic instructions for all TEWs and sf.vtzero)
185185
// CHECK-NEXT: xsfvcp 1.0 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions)
186186
// CHECK-NEXT: xsfvfnrclipxfqf 1.0 'XSfvfnrclipxfqf' (SiFive FP32-to-int8 Ranged Clip Instructions)
187-
// CHECK-NEXT: xsfvfwmaccqqq 1.0 'XSfvfwmaccqqq' (SiFive Matrix Multiply Accumulate Instruction and 4-by-4))
187+
// CHECK-NEXT: xsfvfwmaccqqq 1.0 'XSfvfwmaccqqq' (SiFive Matrix Multiply Accumulate Instruction (4-by-4))
188188
// CHECK-NEXT: xsfvqmaccdod 1.0 'XSfvqmaccdod' (SiFive Int8 Matrix Multiplication Instructions (2-by-8 and 8-by-2))
189189
// CHECK-NEXT: xsfvqmaccqoq 1.0 'XSfvqmaccqoq' (SiFive Int8 Matrix Multiplication Instructions (4-by-8 and 8-by-4))
190190
// CHECK-NEXT: xsifivecdiscarddlone 1.0 'XSiFivecdiscarddlone' (SiFive sf.cdiscard.d.l1 Instruction)

llvm/lib/Target/RISCV/RISCVFeatures.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,12 +1291,12 @@ def HasVendorXSfvqmaccqoq
12911291

12921292
def FeatureVendorXSfvfwmaccqqq
12931293
: RISCVExtension<1, 0,
1294-
"SiFive Matrix Multiply Accumulate Instruction and 4-by-4)",
1294+
"SiFive Matrix Multiply Accumulate Instruction (4-by-4)",
12951295
[FeatureStdExtZvfbfmin]>;
12961296
def HasVendorXSfvfwmaccqqq
12971297
: Predicate<"Subtarget->hasVendorXSfvfwmaccqqq()">,
12981298
AssemblerPredicate<(all_of FeatureVendorXSfvfwmaccqqq),
1299-
"'XSfvfwmaccqqq' (SiFive Matrix Multiply Accumulate Instruction and 4-by-4))">;
1299+
"'XSfvfwmaccqqq' (SiFive Matrix Multiply Accumulate Instruction (4-by-4))">;
13001300

13011301
def FeatureVendorXSfvfnrclipxfqf
13021302
: RISCVExtension<1, 0,

llvm/test/CodeGen/RISCV/features-info.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
; CHECK-NEXT: xsfmmbase - 'XSfmmbase' (All non arithmetic instructions for all TEWs and sf.vtzero).
199199
; CHECK-NEXT: xsfvcp - 'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions).
200200
; CHECK-NEXT: xsfvfnrclipxfqf - 'XSfvfnrclipxfqf' (SiFive FP32-to-int8 Ranged Clip Instructions).
201-
; CHECK-NEXT: xsfvfwmaccqqq - 'XSfvfwmaccqqq' (SiFive Matrix Multiply Accumulate Instruction and 4-by-4)).
201+
; CHECK-NEXT: xsfvfwmaccqqq - 'XSfvfwmaccqqq' (SiFive Matrix Multiply Accumulate Instruction (4-by-4)).
202202
; CHECK-NEXT: xsfvqmaccdod - 'XSfvqmaccdod' (SiFive Int8 Matrix Multiplication Instructions (2-by-8 and 8-by-2)).
203203
; CHECK-NEXT: xsfvqmaccqoq - 'XSfvqmaccqoq' (SiFive Int8 Matrix Multiplication Instructions (4-by-8 and 8-by-4)).
204204
; CHECK-NEXT: xsifivecdiscarddlone - 'XSiFivecdiscarddlone' (SiFive sf.cdiscard.d.l1 Instruction).

llvm/test/MC/RISCV/rvv/xsfvfwmacc.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
sf.vfwmacc.4x4x4 v8, v4, v20
1212
# CHECK-INST: sf.vfwmacc.4x4x4 v8, v4, v20
1313
# CHECK-ENCODING: [0x5b,0x14,0x42,0xf3]
14-
# CHECK-ERROR: instruction requires the following: 'XSfvfwmaccqqq' (SiFive Matrix Multiply Accumulate Instruction and 4-by-4))
14+
# CHECK-ERROR: instruction requires the following: 'XSfvfwmaccqqq' (SiFive Matrix Multiply Accumulate Instruction (4-by-4))
1515
# CHECK-UNKNOWN: f342145b <unknown>
1616

1717
sf.vfwmacc.4x4x4 v0, v4, v20
1818
# CHECK-INST: sf.vfwmacc.4x4x4 v0, v4, v20
1919
# CHECK-ENCODING: [0x5b,0x10,0x42,0xf3]
20-
# CHECK-ERROR: instruction requires the following: 'XSfvfwmaccqqq' (SiFive Matrix Multiply Accumulate Instruction and 4-by-4))
20+
# CHECK-ERROR: instruction requires the following: 'XSfvfwmaccqqq' (SiFive Matrix Multiply Accumulate Instruction (4-by-4))
2121
# CHECK-UNKNOWN: f342105b <unknown>

0 commit comments

Comments
 (0)