* gcc.target/powerpc/altivec-32.c: Don't use -m64.
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / popcount-3.c
blob341816f9f0b51cc4a2a92d8a531752c8e0e13bf4
1 /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
3 /* { dg-options "-O2 -mcpu=power7" } */
4 /* { dg-final { scan-assembler "popcntd" } } */
6 long foo(int x)
8 return __builtin_popcountl(x);