PR target/84226
[official-gcc.git] / gcc / testsuite / gcc.target / tic6x / ffssi.c
blobbb8351293793ad41e938120e45f2d20ef6ebad18
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -march=c64x+" } */
3 /* { dg-final { scan-assembler-not "call" } } */
5 int foo (int x)
7 return __builtin_ffsl (x);
10 int bar (int x)
12 return __builtin_clzl (x);
15 int baz (int x)
17 return __builtin_ctzl (x);