1 /* { dg-do run { target { ! ia32 } } } */ 2 /* { dg-options "-O2 -mavx512f" } */ 3 /* { dg-require-effective-target avx512f } */ 4 5 #include "avx512f-check.h" 6 7 static unsigned long long 8 __attribute__((noinline, unused)) test(union128d s1)9test (union128d s1) 10 { 11 return _mm_cvttsd_u64 (s1.x); 12 } 13 14 void static avx512f_test(void)15avx512f_test (void) 16 { 17 union128d s1; 18 unsigned long long d; 19 unsigned long long e; 20 21 s1.x = _mm_set_pd (24.43, 68.346); 22 d = test (s1); 23 e = (unsigned long long)s1.a[0]; 24 25 if (e != d) 26 abort (); 27 } 28