1 /* PR tree-optimization/114760 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target clz } */
4 /* { dg-require-effective-target ctz } */
5 /* { dg-options "-O3 -fdump-tree-optimized" } */
43 #define PREC (__CHAR_BIT__ * __SIZEOF_INT__)
45 nlz32_1 (unsigned int b
) {
57 nlz32_2 (unsigned int b
) {
68 /* { dg-final { scan-tree-dump-times "__builtin_ctz|\\.CTZ" 3 "optimized" } } */
69 /* { dg-final { scan-tree-dump-times "__builtin_clz|\\.CLZ" 2 "optimized" } } */