URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [paired-8.c] - Rev 384
Compare with Previous | Blame | View Log
/* { dg-do compile { target { powerpc-*-linux*paired* && ilp32 } } } */ /* { dg-options "-mpaired -ffinite-math-only " } */ /* Test PowerPC PAIRED extensions. */ #include <paired.h> static float out[2] __attribute__ ((aligned (8))); void test_api (float x) { vector float c = {x, x}; vector float b = {60.0, 88.0}; vector float a; a = paired_sub (b, c); paired_stx (a, 0, out); } int main () { test_api (6); return (0); }