Small optimization of alloca handling.
[glibc.git] / elf / tst-audit5.c
blob0094fee61fb5e5892170fc79b1a5700864509c2a
1 /* Test case for x86-64 preserved registers in dynamic linker. */
3 #include <stdlib.h>
4 #include <string.h>
6 #include <emmintrin.h>
8 extern __m128i audit_test (__m128i, __m128i, __m128i, __m128i,
9 __m128i, __m128i, __m128i, __m128i);
10 int
11 main (void)
13 __m128i xmm = _mm_setzero_si128 ();
14 __m128i ret = audit_test (xmm, xmm, xmm, xmm, xmm, xmm, xmm, xmm);
16 xmm = _mm_set1_epi32 (0x12349876);
17 if (memcmp (&xmm, &ret, sizeof (ret)))
18 abort ();
20 return 0;