Andreas Schwab
44414488d6
- Import patches from 2.23 branch OBS-URL: https://build.opensuse.org/request/show/394998 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=436
40 lines
1.2 KiB
Diff
40 lines
1.2 KiB
Diff
2016-03-08 Roland McGrath <roland@hack.frob.com>
|
|
|
|
* sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
|
|
* sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
|
|
(tst_audit10_aux) [__AVX512F__]: ... here.
|
|
|
|
Index: glibc-2.23/sysdeps/x86_64/tst-audit10-aux.c
|
|
===================================================================
|
|
--- glibc-2.23.orig/sysdeps/x86_64/tst-audit10-aux.c
|
|
+++ glibc-2.23/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);
|
|
|
|
Index: glibc-2.23/sysdeps/x86_64/tst-audit10.c
|
|
===================================================================
|
|
--- glibc-2.23.orig/sysdeps/x86_64/tst-audit10.c
|
|
+++ glibc-2.23/sysdeps/x86_64/tst-audit10.c
|
|
@@ -17,6 +17,7 @@
|
|
<http://www.gnu.org/licenses/>. */
|
|
|
|
#include <cpuid.h>
|
|
+#include <cpu-features.h>
|
|
|
|
int tst_audit10_aux (void);
|
|
|