diff options
author | Roland McGrath <roland@hack.frob.com> | 2016-03-08 12:31:13 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2016-03-08 12:32:59 -0800 |
commit | 3bd80c0de2f8e7ca8020d37739339636d169957e (patch) | |
tree | 4f29e8d9b9edcbfb0b187e46d490219123c70149 /sysdeps/x86_64/tst-audit10-aux.c | |
parent | 0b8dedd38f304d796b6b9b349428bea7f1f7065f (diff) | |
download | glibc-3bd80c0de2f8e7ca8020d37739339636d169957e.tar.gz glibc-3bd80c0de2f8e7ca8020d37739339636d169957e.tar.xz glibc-3bd80c0de2f8e7ca8020d37739339636d169957e.zip |
Fix tst-audit10 build when -mavx512f is not supported.
Diffstat (limited to 'sysdeps/x86_64/tst-audit10-aux.c')
-rw-r--r-- | sysdeps/x86_64/tst-audit10-aux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/x86_64/tst-audit10-aux.c b/sysdeps/x86_64/tst-audit10-aux.c index 4398b8fd6f..992a16c8ad 100644 --- a/sysdeps/x86_64/tst-audit10-aux.c +++ b/sysdeps/x86_64/tst-audit10-aux.c @@ -20,13 +20,13 @@ #include <stdlib.h> #include <string.h> -extern __m512i audit_test (__m512i, __m512i, __m512i, __m512i, - __m512i, __m512i, __m512i, __m512i); - int tst_audit10_aux (void) { #ifdef __AVX512F__ + extern __m512i audit_test (__m512i, __m512i, __m512i, __m512i, + __m512i, __m512i, __m512i, __m512i); + __m512i zmm = _mm512_setzero_si512 (); __m512i ret = audit_test (zmm, zmm, zmm, zmm, zmm, zmm, zmm, zmm); |