URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [pr37168.c] - Rev 691
Compare with Previous | Blame | View Log
/* PR target/37168 */ /* { dg-do compile { target powerpc*-*-* } } */ /* { dg-require-effective-target powerpc_altivec_ok } */ /* { dg-options "-O2 -maltivec" } */ #define C 3.68249351546114573519399405666776E-44f #define vector __attribute__ ((altivec (vector__))) vector float foo (vector float a) { vector float b = __builtin_vec_madd (b, a, (vector float) { C, C, C, C }); return b; }