@@ -780,7 +780,8 @@ def StdC : StandardSpec<"stdc"> {
780
780
Macro<"stdc_leading_zeros">,
781
781
Macro<"stdc_leading_ones">,
782
782
Macro<"stdc_trailing_zeros">,
783
- Macro<"stdc_trailing_ones">
783
+ Macro<"stdc_trailing_ones">,
784
+ Macro<"stdc_first_leading_zero">
784
785
], // Macros
785
786
[], // Types
786
787
[], // Enumerations
@@ -804,7 +805,12 @@ def StdC : StandardSpec<"stdc"> {
804
805
FunctionSpec<"stdc_trailing_ones_us", RetValSpec<UnsignedIntType>, [ArgSpec<UnsignedShortType>]>,
805
806
FunctionSpec<"stdc_trailing_ones_ui", RetValSpec<UnsignedIntType>, [ArgSpec<UnsignedIntType>]>,
806
807
FunctionSpec<"stdc_trailing_ones_ul", RetValSpec<UnsignedIntType>, [ArgSpec<UnsignedLongType>]>,
807
- FunctionSpec<"stdc_trailing_ones_ull", RetValSpec<UnsignedIntType>, [ArgSpec<UnsignedLongLongType>]>
808
+ FunctionSpec<"stdc_trailing_ones_ull", RetValSpec<UnsignedIntType>, [ArgSpec<UnsignedLongLongType>]>,
809
+ FunctionSpec<"stdc_first_leading_zero_uc", RetValSpec<UnsignedIntType>, [ArgSpec<UnsignedCharType>]>,
810
+ FunctionSpec<"stdc_first_leading_zero_us", RetValSpec<UnsignedIntType>, [ArgSpec<UnsignedShortType>]>,
811
+ FunctionSpec<"stdc_first_leading_zero_ui", RetValSpec<UnsignedIntType>, [ArgSpec<UnsignedIntType>]>,
812
+ FunctionSpec<"stdc_first_leading_zero_ul", RetValSpec<UnsignedIntType>, [ArgSpec<UnsignedLongType>]>,
813
+ FunctionSpec<"stdc_first_leading_zero_ull", RetValSpec<UnsignedIntType>, [ArgSpec<UnsignedLongLongType>]>
808
814
] // Functions
809
815
>;
810
816
0 commit comments