1 /* Test case for x86-64 preserved registers in dynamic linker.  */
2 
3 #include <stdlib.h>
4 #include <string.h>
5 
6 #include <emmintrin.h>
7 
8 extern __m128i audit_test (__m128i, __m128i, __m128i, __m128i,
9 			   __m128i, __m128i, __m128i, __m128i);
10 static int
do_test(void)11 do_test (void)
12 {
13   __m128i xmm = _mm_setzero_si128 ();
14   __m128i ret = audit_test (xmm, xmm, xmm, xmm, xmm, xmm, xmm, xmm);
15 
16   if (memcmp (&xmm, &ret, sizeof (ret)))
17     abort ();
18 
19   return 0;
20 }
21 
22 #define TEST_FUNCTION do_test ()
23 #include "../../test-skeleton.c"
24