@@ -178,7 +178,8 @@ def NoHasStdExtZicfiss : Predicate<"!Subtarget->hasStdExtZicfiss()">;
178
178
179
179
def FeatureStdExtZilsd
180
180
: RISCVExtension<1, 0,
181
- "Load/Store Pair Instructions">;
181
+ "Load/Store Pair Instructions">,
182
+ RISCVExtensionBitmask<1, 8>;
182
183
def HasStdExtZilsd : Predicate<"Subtarget->hasStdExtZilsd()">,
183
184
AssemblerPredicate<(all_of FeatureStdExtZilsd),
184
185
"'Zilsd' (Load/Store pair instructions)">;
@@ -411,15 +412,17 @@ def FeatureStdExtZcf
411
412
def FeatureStdExtZclsd
412
413
: RISCVExtension<1, 0,
413
414
"Compressed Load/Store Pair Instructions",
414
- [FeatureStdExtZilsd, FeatureStdExtZca]>;
415
+ [FeatureStdExtZilsd, FeatureStdExtZca]>,
416
+ RISCVExtensionBitmask<1, 9>;
415
417
def HasStdExtZclsd : Predicate<"Subtarget->hasStdExtZclsd()">,
416
418
AssemblerPredicate<(all_of FeatureStdExtZclsd),
417
419
"'Zclsd' (Compressed Load/Store pair instructions)">;
418
420
419
421
def FeatureStdExtZcmp
420
422
: RISCVExtension<1, 0,
421
423
"sequenced instructions for code-size reduction",
422
- [FeatureStdExtZca]>;
424
+ [FeatureStdExtZca]>,
425
+ RISCVExtensionBitmask<1, 10>;
423
426
def HasStdExtZcmp : Predicate<"Subtarget->hasStdExtZcmp() && !Subtarget->hasStdExtC()">,
424
427
AssemblerPredicate<(all_of FeatureStdExtZcmp),
425
428
"'Zcmp' (sequenced instructions for code-size reduction)">;
0 commit comments