[clang] [RISCV] Support Xsfvfwmaccqqq extensions (PR #68296)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 26 22:57:39 PDT 2023


================
@@ -813,6 +813,14 @@ def HasVendorXSfcie : Predicate<"Subtarget->hasVendorXSfcie()">,
                         AssemblerPredicate<(all_of FeatureVendorXSfcie),
                         "'XSfcie' (SiFive Custom Instruction Extension SCIE.)">;
 
+def FeatureVendorXSfvfwmaccqqq
+    : SubtargetFeature<"xsfvfwmaccqqq", "HasVendorXSfvfwmaccqqq", "true",
+                       "'XSfvfwmaccqqq' (SiFive Matrix Multiply Accumulate Instruction and 4-by-4))",
+                       [FeatureStdExtZve32x]>;
----------------
topperc wrote:

Should this be Zve32f since the return type is FP?

https://github.com/llvm/llvm-project/pull/68296


More information about the cfe-commits mailing list