@@ -75,7 +75,8 @@ def FeatureStdExtI
7575 RISCVExtensionBitmask<0, 8>;
7676
7777def FeatureStdExtE
78- : RISCVExtension<2, 0, "Embedded Instruction Set with 16 GPRs">;
78+ : RISCVExtension<2, 0, "Embedded Instruction Set with 16 GPRs">,
79+ RISCVExtensionBitmask<0, 4>;
7980
8081def FeatureStdExtZic64b
8182 : RISCVExtension<1, 0, "Cache Block Size Is 64 Bytes">;
@@ -510,7 +511,8 @@ def HasStdExtZbs : Predicate<"Subtarget->hasStdExtZbs()">,
510511
511512def FeatureStdExtB
512513 : RISCVExtension<1, 0, "the collection of the Zba, Zbb, Zbs extensions",
513- [FeatureStdExtZba, FeatureStdExtZbb, FeatureStdExtZbs]>;
514+ [FeatureStdExtZba, FeatureStdExtZbb, FeatureStdExtZbs]>,
515+ RISCVExtensionBitmask<0, 1>;
514516
515517def FeatureStdExtZbkb
516518 : RISCVExtension<1, 0, "Bitmanip instructions for Cryptography">,
@@ -887,8 +889,8 @@ def HasVInstructionsFullMultiply : Predicate<"Subtarget->hasVInstructionsFullMul
887889
888890// Hypervisor Extensions
889891
890- def FeatureStdExtH : RISCVExtension<1, 0, "Hypervisor">;
891-
892+ def FeatureStdExtH : RISCVExtension<1, 0, "Hypervisor">,
893+ RISCVExtensionBitmask<0, 7>;
892894def HasStdExtH : Predicate<"Subtarget->hasStdExtH()">,
893895 AssemblerPredicate<(all_of FeatureStdExtH),
894896 "'H' (Hypervisor)">;
0 commit comments