2 /* { dg-require-effective-target sse4a } */
3 /* { dg-options "-O2 -msse4a" } */
5 #include "sse4a-check.h"
10 sse4a_test_movntsd (double *out
, double *in
)
12 __m128d in_v2df
= _mm_load_sd (in
);
13 _mm_stream_sd (out
, in_v2df
);
17 chk_sd (double *v1
, double *v2
)
27 100.0, 200.0, 300.0, 400.0, 5.0,
28 -1.0, .345, -21.5, 9.32, 8.41
38 out
= (double *) malloc (sizeof (double));
39 for (i
= 0; i
< 10; i
+= 1)
41 sse4a_test_movntsd (out
, &vals
[i
]);
43 fail
+= chk_sd (out
, &vals
[i
]);