Unified · Split
| @@ -3875,9 +3875,12 @@ static void builtin_test_bits(unsigned long long x, int cnt[]) · 3874 unmodified lines | |||
| 3875 | if ((unsigned long) x) cnt[7] += __builtin_ctzl(x); | 3875 | if ((unsigned long) x) cnt[7] += __builtin_ctzl(x); |
| 3876 | if ((unsigned long long) x) cnt[8] += __builtin_ctzll(x); | 3876 | if ((unsigned long long) x) cnt[8] += __builtin_ctzll(x); |
| 3877 | 3877 | ||
| 3878 | #if CC_NAME != CC_clang || GCC_MAJOR >= 11 | ||
| 3879 | /* Apple clang 10 does not have __builtin_clrsb[l[l]] */ | ||
| 3878 | cnt[9] += __builtin_clrsb(x); | 3880 | cnt[9] += __builtin_clrsb(x); |
| 3879 | cnt[10] += __builtin_clrsbl(x); | 3881 | cnt[10] += __builtin_clrsbl(x); |
| 3880 | cnt[11] += __builtin_clrsbll(x); | 3882 | cnt[11] += __builtin_clrsbll(x); |
| 3883 | #endif | ||
| 3881 | 3884 | ||
| 3882 | cnt[12] += __builtin_popcount(x); | 3885 | cnt[12] += __builtin_popcount(x); |
| 3883 | cnt[13] += __builtin_popcountl(x); | 3886 | cnt[13] += __builtin_popcountl(x); |