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