Add missing file
[glibc.git] / elf / tst-auditmod3a.c
blob9514aba50511e4b283519c52036a40f484c8039b
1 /* Test case for x86-64 preserved registers in dynamic linker. */
3 #include <stdlib.h>
4 #include <string.h>
5 #include <emmintrin.h>
7 __m128i
8 audit_test (__m128i x0, __m128i x1, __m128i x2, __m128i x3,
9 __m128i x4, __m128i x5, __m128i x6, __m128i x7)
11 __m128i xmm = _mm_setzero_si128 ();
13 if (memcmp (&xmm, &x0, sizeof (xmm))
14 || memcmp (&xmm, &x1, sizeof (xmm))
15 || memcmp (&xmm, &x2, sizeof (xmm))
16 || memcmp (&xmm, &x3, sizeof (xmm))
17 || memcmp (&xmm, &x4, sizeof (xmm))
18 || memcmp (&xmm, &x5, sizeof (xmm))
19 || memcmp (&xmm, &x6, sizeof (xmm))
20 || memcmp (&xmm, &x7, sizeof (xmm)))
21 abort ();
23 return xmm;