blob: 0d44969f3b9724489d33d0aecf985f9fa96ee385 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* { dg-do compile { target { ! ia32 } } } */
/* { dg-options "-Ofast -mno-avx -msse2 -mtune=bdver2" } */
float *a, *b;
int c, d, e, f;
void
foo (void)
{
for (; c; c++)
a[c] = 0;
if (!d)
for (; c < f; c++)
b[c] = (double) e / b[c];
}
/* { dg-final { scan-assembler-not "cvtps2pd\[^\n\r\]*(%xmm|xmm)\[0-9\]+,\[^\n\r\]*(%xmm|xmm)\[0-9\]+" } } */
|