[clang] [llvm] [RISCV][MC] Add support for experimental Zcmop extension (PR #76395)

Kito Cheng via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 26 17:06:11 PST 2023


================
@@ -693,6 +693,13 @@ def HasStdExtZimop : Predicate<"Subtarget->hasStdExtZimop()">,
                                AssemblerPredicate<(all_of FeatureStdExtZimop),
                                "'Zimop' (May-Be-Operations)">;
 
+def FeatureStdExtZcmop : SubtargetFeature<"experimental-zcmop", "HasStdExtZcmop", "true",
+                                          "'Zcmop' (Compressed May-Be-Operations)",
+                                          [FeatureStdExtZca]>;
----------------
kito-cheng wrote:

My understanding for those terminology on RISC-V ISA spec is: imply == depend == require

See comment from Krste and Andrew in this issue: https://github.com/riscv/riscv-v-spec/issues/723#issuecomment-922153867

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


More information about the cfe-commits mailing list