No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.target / powerpc / altivec-22.c
blob1af117c18fd1edbed69852b1adfed4ff54f72dd5
1 /* { dg-do compile { target powerpc-*-* } } */
2 /* { dg-xfail-if "" { "powerpc-*-eabispe*" "powerpc-ibm-aix*" } { "*" } { "" } } */
3 /* { dg-options "-O3 -maltivec" } */
4 /* { dg-final { scan-assembler-not "mfcr" } } */
6 #include <altivec.h>
8 int foo(vector float x, vector float y) {
9 if (vec_all_eq(x,y)) return 3245;
10 else return 12;