2 /* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */
3 /* { dg-require-effective-target p8vector_hw } */
6 #define CHECK_H "sse2-check.h"
12 #define TEST sse2_test_cvtsd2si_2
15 #include <emmintrin.h>
18 __attribute__((noinline
, unused
))
21 return _mm_cvtsd_si64 (p
);
31 s
.x
= _mm_set_pd (829496729501.4, 429496729501.4);
35 e
= (long long)(s
.a
[0] + 0.5);
40 printf ("sse2_test_cvtsd2si_2; failed\n");
41 printf ("\t [%f,%f] -> [%ld]\n", s
.a
[0], s
.a
[1], d
);
42 printf ("\t expect [%ld]\n", e
);