[clang] [llvm] [RISCV] Support Xsfvfofp4min assembler version 0.1 (PR #164820)
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 15 21:44:41 PST 2026
================
@@ -1634,6 +1634,14 @@ def FeatureVendorXSfsclic
: RISCVExperimentalExtension<0, 1,
"SiFive CLIC Supervisor-mode CSRs">;
+def FeatureVendorXSfvfofp4min
+ : RISCVExtension<0, 1, "SiFive Vector OFP4 Conversion Instruction",
+ [FeatureStdExtZve32f]>;
+def HasVendorXSfvfofp4min
+ : Predicate<"Subtarget->hasVendorXSfvfofp4min()">,
+ AssemblerPredicate<(all_of FeatureVendorXSfvfofp4min),
+ "'XSfvfofp4min' (SiFive Vector OFP4 Conversion Instruction)">;
----------------
topperc wrote:
```suggestion
"'XSfvfofp4min' (SiFive Vector OFP4 Conversion Instruction)">;
```
https://github.com/llvm/llvm-project/pull/164820
More information about the cfe-commits
mailing list