URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [altivec-pr22085.c] - Rev 825
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile { target powerpc*-*-* } } */ /* { dg-require-effective-target powerpc_altivec_ok } */ /* { dg-options "-maltivec -fpreprocessed" } */ /* Program to test AltiVec with -fpreprocessed. */ int foo(__attribute__((altivec(vector__))) float x, __attribute__((altivec(vector__))) float y) { if (__builtin_vec_vcmpeq_p (2, (x), (y))) return 3245; else return 12; }
Go to most recent revision | Compare with Previous | Blame | View Log