olga / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone

Blame SOURCES/glibc-rh1298526-2.patch

ce426f
commit 214a44f3949624623bd9f5ced82a47915259324e
ce426f
Author: Andrew Senkevich <andrew.senkevich@intel.com>
ce426f
Date:   Sat Jan 16 14:42:26 2016 +0300
ce426f
ce426f
    Fixed typos in __memcpy_chk.
ce426f
ce426f
        * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
ce426f
ce426f
Index: glibc-2.17-c758a686/sysdeps/x86_64/multiarch/memcpy_chk.S
ce426f
===================================================================
ce426f
--- glibc-2.17-c758a686.orig/sysdeps/x86_64/multiarch/memcpy_chk.S
ce426f
+++ glibc-2.17-c758a686/sysdeps/x86_64/multiarch/memcpy_chk.S
ce426f
@@ -33,9 +33,9 @@ ENTRY(__memcpy_chk)
ce426f
 #ifdef HAVE_AVX512_ASM_SUPPORT
ce426f
 	HAS_ARCH_FEATURE (AVX512F_Usable)
ce426f
 	jz      1f
ce426f
-#	HAS_ARCH_FEATURE (Prefer_No_VZEROUPPER)
ce426f
-#	jz      1f
ce426f
-	leaq    __memcpy_avx512_no_vzeroupper(%rip), %rax
ce426f
+	HAS_ARCH_FEATURE (Prefer_No_VZEROUPPER)
ce426f
+	jz      1f
ce426f
+	leaq    __memcpy_chk_avx512_no_vzeroupper(%rip), %rax
ce426f
 	ret
ce426f
 #endif
ce426f
 1:	leaq	__memcpy_chk_sse2(%rip), %rax