@@ -182,7 +182,8 @@ def NoHasStdExtZicfiss : Predicate<"!Subtarget->hasStdExtZicfiss()">;
182182
183183def FeatureStdExtZilsd
184184 : RISCVExtension<1, 0,
185- "Load/Store Pair Instructions">;
185+ "Load/Store Pair Instructions">,
186+ RISCVExtensionBitmask<1, 8>;
186187def HasStdExtZilsd : Predicate<"Subtarget->hasStdExtZilsd()">,
187188 AssemblerPredicate<(all_of FeatureStdExtZilsd),
188189 "'Zilsd' (Load/Store pair instructions)">;
@@ -420,15 +421,17 @@ def FeatureStdExtZcf
420421def FeatureStdExtZclsd
421422 : RISCVExtension<1, 0,
422423 "Compressed Load/Store Pair Instructions",
423- [FeatureStdExtZilsd, FeatureStdExtZca]>;
424+ [FeatureStdExtZilsd, FeatureStdExtZca]>,
425+ RISCVExtensionBitmask<1, 9>;
424426def HasStdExtZclsd : Predicate<"Subtarget->hasStdExtZclsd()">,
425427 AssemblerPredicate<(all_of FeatureStdExtZclsd),
426428 "'Zclsd' (Compressed Load/Store pair instructions)">;
427429
428430def FeatureStdExtZcmp
429431 : RISCVExtension<1, 0,
430432 "sequenced instructions for code-size reduction",
431- [FeatureStdExtZca]>;
433+ [FeatureStdExtZca]>,
434+ RISCVExtensionBitmask<1, 10>;
432435def HasStdExtZcmp : Predicate<"Subtarget->hasStdExtZcmp() && !Subtarget->hasStdExtC()">,
433436 AssemblerPredicate<(all_of FeatureStdExtZcmp),
434437 "'Zcmp' (sequenced instructions for code-size reduction)">;
0 commit comments