blob: e82276677eab836c71b5862d33637cca8dcc11ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* PR target/50310 */
/* { dg-do run } */
/* { dg-options "-O3" } */
/* { dg-options "-O3 -mavx -mno-avx2" { target avx_runtime } } */
double s1[4], s2[4];
long long e[4];
int
main ()
{
int i;
asm volatile ("" : : : "memory");
for (i = 0; i < 4; i++)
e[i] = __builtin_isunordered (s1[i], s2[i]) && s1[i] != s2[i] ? -1 : 0;
asm volatile ("" : : : "memory");
return 0;
}
|