blob: fa126e45f6fd8670014820a07162857bda94dcc7 (
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 -fno-common" } */
float a[4];
float b[4];
float r[4];
void t1(void)
{
int i;
for (i = 0; i < 4; i++)
r[i] = a[i] / b[i];
}
/* { dg-final { scan-assembler "rcpps" } } */
|