2 /* { dg-require-effective-target sse4 } */
3 /* { dg-options "-O2 -msse4.1" } */
6 #define CHECK_H "sse4_1-check.h"
10 #define TEST sse4_1_test
15 #include <smmintrin.h>
17 #define iRoundMode 0x2
26 s
.x
= _mm_set_pd (1.1234, -2.3478);
27 u
.x
= _mm_round_pd (s
.x
, iRoundMode
);
29 for (i
= 0; i
< 2; i
++)
31 __m128d tmp
= _mm_load_sd (&s
.a
[i
]);
32 tmp
= _mm_round_sd (tmp
, tmp
, iRoundMode
);
33 _mm_store_sd (&e
[i
], tmp
);
36 if (check_union128d (u
, e
))