c++: normalizing ttp constraints [PR115656]
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / popcount-3.c
blob81632e0987a8f459b0bef84f53a8544ca1798b00
1 /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
3 /* { dg-options "-O2 -mdejagnu-cpu=power7" } */
4 /* { dg-final { scan-assembler "popcntd" } } */
6 long foo(int x)
8 return __builtin_popcountl(x);