2 /* { dg-options "-O3 -mpower8-vector -Wno-psabi" } */
3 /* { dg-require-effective-target lp64 } */
4 /* { dg-require-effective-target p8vector_hw } */
7 #define CHECK_H "sse2-check.h"
13 #define TEST sse2_test_andnpd_1
16 #include <emmintrin.h>
19 __attribute__((noinline
, unused
))
20 test (__m128d s1
, __m128d s2
)
22 return _mm_andnot_pd (s1
, s2
);
29 long long source1
[2]={34545, 95567};
30 long long source2
[2]={674, 57897};
33 s1
.x
= _mm_loadu_pd ((double *)source1
);
34 s2
.x
= _mm_loadu_pd ((double *)source2
);
35 u
.x
= test (s1
.x
, s2
.x
);
37 e
[0] = (~source1
[0]) & source2
[0];
38 e
[1] = (~source1
[1]) & source2
[1];
40 if (check_union128d (u
, (double *)e
))