Add execution + assembler tests of AArch64 TRN Intrinsics.
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / ctz.c
blob89d6fb442bf6236f6390866602cbd6e79145969b
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 unsigned int functest (unsigned int x)
6 return __builtin_ctz (x);
9 /* { dg-final { scan-assembler "rbit\tw" } } */
10 /* { dg-final { scan-assembler "clz\tw" } } */