URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [altivec-22.c] - Rev 12
Compare with Previous | Blame | View Log
/* { dg-do compile { target powerpc-*-* } } */ /* { dg-xfail-if "" { "powerpc-*-eabispe*" "powerpc-ibm-aix*" } { "*" } { "" } } */ /* { dg-options "-O3 -maltivec" } */ /* { dg-final { scan-assembler-not "mfcr" } } */ #include <altivec.h> int foo(vector float x, vector float y) { if (vec_all_eq(x,y)) return 3245; else return 12; }