1 /* Test case for x86-64 preserved registers in dynamic linker. */
9 extern __m256i
audit_test (__m256i
, __m256i
, __m256i
, __m256i
,
10 __m256i
, __m256i
, __m256i
, __m256i
);
14 unsigned int eax
, ebx
, ecx
, edx
;
16 /* Run AVX test only if AVX is supported. */
17 if (__get_cpuid (1, &eax
, &ebx
, &ecx
, &edx
)
20 __m256i ymm
= _mm256_setzero_si256 ();
21 __m256i ret
= audit_test (ymm
, ymm
, ymm
, ymm
, ymm
, ymm
, ymm
, ymm
);
23 ymm
= _mm256_set1_epi32 (0x12349876);
24 if (memcmp (&ymm
, &ret
, sizeof (ret
)))