2 /* { dg-options "-O3 -mvsx -Wno-psabi" } */
3 /* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */
4 /* { dg-require-effective-target p8vector_hw } */
7 #define CHECK_H "sse2-check.h"
13 #define TEST sse2_test_movmskpd_1
16 #include <emmintrin.h>
20 __attribute__((noinline
, unused
))
24 return _mm_movemask_pd (p
);
32 double source
[2] = {1.234, -2234.23};
37 s1
.x
= _mm_loadu_pd (source
);
48 if (checkVi (&d
, &e
, 1))
51 printf ("sse2_test_movmskpd_1; check_union128d failed\n");
52 printf ("\t [%f,%f] -> [%d]\n", s1
.a
[0], s1
.a
[1], d
);
53 printf ("\t expect [%d]\n", e
);