[to-be-committed] [RISC-V] Improve (1 << N) | C for rv64
[official-gcc.git] / gcc / testsuite / gcc.target / ia64 / builtin-popcount-1.c
blobc9641d0e6dfeecf5f2599695de5e56eafad8deb4
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 /* { dg-final { scan-assembler "popcnt" } } */
5 int foo (int x)
7 return __builtin_popcount (x);