1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/* { dg-do compile } */ /* { dg-options "-ftree-vectorize" } */ int synths_ ( float * rc) { float r1, r2; int i; for (i = 0; i < 128; ++i) { r2 = rc[i]; r1 = ((r2) <= (.99f) ? (r2) : (.99f)); rc[i] = ((r1) >= (-.99f) ? (r1) : (-.99f)); } }