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>
35 for (i
= 0; i
< NUM
* 2; i
+= 2)
37 src1
.i
[i
] = i
* i
* sign
;
38 src2
.i
[i
] = (i
+ 20) * sign
;
42 for (i
= 0; i
< NUM
; i
+= 2)
43 dst
.x
[i
/ 2] = _mm_mul_epi32 (src1
.x
[i
/ 2], src2
.x
[i
/ 2]);
45 for (i
= 0; i
< NUM
; i
++)
47 value
= (long long) src1
.i
[i
* 2] * (long long) src2
.i
[i
* 2];
48 if (value
!= dst
.ll
[i
])