Blame SOURCES/valgrind-3.13.0-suppress-dl-trampoline-sse-avx.patch

ba4a9b
commit 3c3aa1c62767c48ac8f2015df66f04f354dd897b
ba4a9b
Author: Mark Wielaard <mark@klomp.org>
ba4a9b
Date:   Tue Oct 17 17:49:26 2017 +0200
ba4a9b
ba4a9b
    Suppress _dl_runtime_resolve_avx_slow for memcheck conditional.
ba4a9b
    
ba4a9b
    glibc ld.so has an optimization when resolving a symbol that checks
ba4a9b
    whether or not the upper 128 bits of the ymm registers are zero. If
ba4a9b
    so it uses "cheaper" instructions to save/restore them using the xmm
ba4a9b
    registers. If those upper 128 bits contain undefined values memcheck
ba4a9b
    will issue an Conditional jump or move depends on uninitialised value(s)
ba4a9b
    warning whenever trying to resolve a symbol.
ba4a9b
    
ba4a9b
    This triggers in our sh-mem-vecxxx test cases. Suppress the warning
ba4a9b
    by default.
ba4a9b
ba4a9b
diff --git a/glibc-2.X.supp.in b/glibc-2.X.supp.in
ba4a9b
index 8edeb4a..126e8b3 100644
ba4a9b
--- a/glibc-2.X.supp.in
ba4a9b
+++ b/glibc-2.X.supp.in
ba4a9b
@@ -236,3 +236,15 @@
ba4a9b
    Memcheck:Cond
ba4a9b
    fun:_dl_relocate_object
ba4a9b
 }
ba4a9b
+
ba4a9b
+# glibc ld.so has an optimization when resolving a symbol that checks
ba4a9b
+# whether or not the upper 128 bits of the ymm registers are zero. If
ba4a9b
+# so it uses "cheaper" instructions to save/restore them using the xmm
ba4a9b
+# registers. If those upper 128 bits contain undefined values memcheck
ba4a9b
+# will issue an Conditional jump or move depends on uninitialised value(s)
ba4a9b
+# warning whenever trying to resolve a symbol.
ba4a9b
+{
ba4a9b
+   dl-trampoline-sse-avx
ba4a9b
+   Memcheck:Cond
ba4a9b
+   fun:_dl_runtime_resolve_avx_slow
ba4a9b
+}