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

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