3636// / bits in the operand.
3737// / \see _tzcnt_u16
3838static __inline__ unsigned short __RELAXED_FN_ATTRS
39- __tzcnt_u16 (unsigned short __X)
40- {
39+ __tzcnt_u16 (unsigned short __X) {
4140 return __builtin_ia32_tzcnt_u16 (__X);
4241}
4342
@@ -70,8 +69,7 @@ __tzcnt_u16(unsigned short __X)
7069// / bits in the operand.
7170// / \see { _mm_tzcnt_32 _tzcnt_u32 }
7271static __inline__ unsigned int __RELAXED_FN_ATTRS
73- __tzcnt_u32 (unsigned int __X)
74- {
72+ __tzcnt_u32 (unsigned int __X) {
7573 return __builtin_ia32_tzcnt_u32 (__X);
7674}
7775
@@ -87,8 +85,7 @@ __tzcnt_u32(unsigned int __X)
8785// / the operand.
8886// / \see { __tzcnt_u32 _tzcnt_u32 }
8987static __inline__ int __RELAXED_FN_ATTRS
90- _mm_tzcnt_32 (unsigned int __X)
91- {
88+ _mm_tzcnt_32 (unsigned int __X) {
9289 return (int )__builtin_ia32_tzcnt_u32 (__X);
9390}
9491
@@ -123,8 +120,7 @@ _mm_tzcnt_32(unsigned int __X)
123120// / bits in the operand.
124121// / \see { _mm_tzcnt_64 _tzcnt_u64 }
125122static __inline__ unsigned long long __RELAXED_FN_ATTRS
126- __tzcnt_u64 (unsigned long long __X)
127- {
123+ __tzcnt_u64 (unsigned long long __X) {
128124 return __builtin_ia32_tzcnt_u64 (__X);
129125}
130126
@@ -140,8 +136,7 @@ __tzcnt_u64(unsigned long long __X)
140136// / the operand.
141137// / \see { __tzcnt_u64 _tzcnt_u64 }
142138static __inline__ long long __RELAXED_FN_ATTRS
143- _mm_tzcnt_64 (unsigned long long __X)
144- {
139+ _mm_tzcnt_64 (unsigned long long __X) {
145140 return (long long )__builtin_ia32_tzcnt_u64 (__X);
146141}
147142
@@ -192,8 +187,7 @@ _mm_tzcnt_64(unsigned long long __X)
192187// / operand with the one's complement of the first operand.
193188// / \see _andn_u32
194189static __inline__ unsigned int __DEFAULT_FN_ATTRS
195- __andn_u32 (unsigned int __X, unsigned int __Y)
196- {
190+ __andn_u32 (unsigned int __X, unsigned int __Y) {
197191 return ~__X & __Y;
198192}
199193
@@ -298,8 +292,7 @@ _bextr2_u32(unsigned int __X, unsigned int __Y) {
298292// / the source operand.
299293// / \see _blsi_u32
300294static __inline__ unsigned int __DEFAULT_FN_ATTRS
301- __blsi_u32 (unsigned int __X)
302- {
295+ __blsi_u32 (unsigned int __X) {
303296 return __X & -__X;
304297}
305298
@@ -334,8 +327,7 @@ __blsi_u32(unsigned int __X)
334327// / \returns An unsigned integer containing the newly created mask.
335328// / \see _blsmsk_u32
336329static __inline__ unsigned int __DEFAULT_FN_ATTRS
337- __blsmsk_u32 (unsigned int __X)
338- {
330+ __blsmsk_u32 (unsigned int __X) {
339331 return __X ^ (__X - 1 );
340332}
341333
@@ -370,8 +362,7 @@ __blsmsk_u32(unsigned int __X)
370362// / operand.
371363// / \see _blsr_u32
372364static __inline__ unsigned int __DEFAULT_FN_ATTRS
373- __blsr_u32 (unsigned int __X)
374- {
365+ __blsr_u32 (unsigned int __X) {
375366 return __X & (__X - 1 );
376367}
377368
@@ -410,8 +401,7 @@ __blsr_u32(unsigned int __X)
410401// / operand with the one's complement of the first operand.
411402// / \see _andn_u64
412403static __inline__ unsigned long long __DEFAULT_FN_ATTRS
413- __andn_u64 (unsigned long long __X, unsigned long long __Y)
414- {
404+ __andn_u64 (unsigned long long __X, unsigned long long __Y) {
415405 return ~__X & __Y;
416406}
417407
@@ -517,8 +507,7 @@ _bextr2_u64(unsigned long long __X, unsigned long long __Y) {
517507// / bits from the source operand.
518508// / \see _blsi_u64
519509static __inline__ unsigned long long __DEFAULT_FN_ATTRS
520- __blsi_u64 (unsigned long long __X)
521- {
510+ __blsi_u64 (unsigned long long __X) {
522511 return __X & -__X;
523512}
524513
@@ -553,8 +542,7 @@ __blsi_u64(unsigned long long __X)
553542// / \returns An unsigned 64-bit integer containing the newly created mask.
554543// / \see _blsmsk_u64
555544static __inline__ unsigned long long __DEFAULT_FN_ATTRS
556- __blsmsk_u64 (unsigned long long __X)
557- {
545+ __blsmsk_u64 (unsigned long long __X) {
558546 return __X ^ (__X - 1 );
559547}
560548
@@ -589,8 +577,7 @@ __blsmsk_u64(unsigned long long __X)
589577// / source operand.
590578// / \see _blsr_u64
591579static __inline__ unsigned long long __DEFAULT_FN_ATTRS
592- __blsr_u64 (unsigned long long __X)
593- {
580+ __blsr_u64 (unsigned long long __X) {
594581 return __X & (__X - 1 );
595582}
596583
0 commit comments