URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [pr37168.c] - Rev 322
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; }