URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [fast-math-ifcvt-1.c] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR 47892 */ /* { dg-do compile } */ /* { dg-require-effective-target vect_float } */ /* { dg-require-effective-target vect_condition } */ void bestseries9 (float * __restrict__ arr, int len) { int i; for (i = 0; i < len; ++i) { float or = arr[i]; arr[i] = (or > 0.0f) * (2 - or * or); } } /* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" } } */ /* { dg-final { cleanup-tree-dump "vect" } } */
Go to most recent revision | Compare with Previous | Blame | View Log