1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_thumb2_ok } */
3 /* { dg-options "-O2" } */
5 unsigned int functest(unsigned int x
)
7 return __builtin_ctz(x
);
10 /* { dg-final { scan-assembler "rbit" } } */
11 /* { dg-final { scan-assembler "clz" } } */
12 /* { dg-final { scan-assembler-not "rsb" } } */