summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/recip-vec-divf.c
blob: 4bdbba79f34204b08bd47099eba94f1764a1f673 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse -mfpmath=sse -mrecip" } */

float a[16];
float b[16];
float r[16];

void t1(void)
{
 int i;

 for (i = 0; i < 16; i++)
   r[i] = a[i] / b[i];
}

/* { dg-final { scan-assembler "rcpps" } } */