* gcc.target/i386/mpx/hard-reg-1-nov.c (mpx_test): Use "esp"
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-rounding-nearbyintf.c
blob9f01dde34d05143d13f2f8a26edc0ff6064fb326
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_float } */
3 /* { dg-require-effective-target vect_call_nearbyintf } */
5 #define N 32
7 void
8 foo (float *output, float *input)
10 int i = 0;
11 /* Vectorizable. */
12 for (i = 0; i < N; i++)
13 output[i] = __builtin_nearbyintf (input[i]);
16 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_call_nearbyintf } } } */