PR target/84226
[official-gcc.git] / gcc / testsuite / gcc.target / tic6x / ffsdi.c
blob6f61be5ae8ae157007ed4e32e7962b78d5fca04e
1 /* { dg-do compile } */
2 /* { dg-require-effective-target ti_c64xp } */
3 /* { dg-options "-O2" } */
4 /* { dg-final { scan-assembler-not "call" } } */
6 long long foo (long long x)
8 return __builtin_ffsll (x);
11 long long bar (long long x)
13 return __builtin_clzll (x);
16 long long baz (long long x)
18 return __builtin_ctzll (x);