1 /* Test case for x86-64 preserved SSE registers in dynamic linker. */
8 sse_test (__m128i x0
, __m128i x1
, __m128i x2
, __m128i x3
,
9 __m128i x4
, __m128i x5
, __m128i x6
, __m128i x7
)
13 xmm
= _mm_set1_epi32 (0);
14 if (memcmp (&xmm
, &x0
, sizeof (xmm
)))
17 xmm
= _mm_set1_epi32 (1);
18 if (memcmp (&xmm
, &x1
, sizeof (xmm
)))
21 xmm
= _mm_set1_epi32 (2);
22 if (memcmp (&xmm
, &x2
, sizeof (xmm
)))
25 xmm
= _mm_set1_epi32 (3);
26 if (memcmp (&xmm
, &x3
, sizeof (xmm
)))
29 xmm
= _mm_set1_epi32 (4);
30 if (memcmp (&xmm
, &x4
, sizeof (xmm
)))
33 xmm
= _mm_set1_epi32 (5);
34 if (memcmp (&xmm
, &x5
, sizeof (xmm
)))
37 xmm
= _mm_set1_epi32 (6);
38 if (memcmp (&xmm
, &x6
, sizeof (xmm
)))
41 xmm
= _mm_set1_epi32 (7);
42 if (memcmp (&xmm
, &x7
, sizeof (xmm
)))
45 return _mm_set1_epi32 (0x12349876);