Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / testsuite / gcc.target / aarch64 / clrsb.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3
4 unsigned int functest (unsigned int x)
5 {
6   return __builtin_clrsb (x);
7 }
8
9 /* { dg-final { scan-assembler "cls\tw" } } */