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

Yeting Kuo via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 26 06:25:33 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]>;
----------------
yetingk wrote:

The spec says Zcmop requires Zca. Is this means Zcmop imply Zca? I am not sure with this.

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


More information about the cfe-commits mailing list