summaryrefslogtreecommitdiffstats
path: root/tools/msan
diff options
context:
space:
mode:
authorrobert.bradford <robert.bradford@intel.com>2014-11-05 06:59:34 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-05 14:59:51 +0000
commit02a95e3084f979084fa8586e1718a6e6dd4c22da (patch)
treedc9ba85e9c88dce29436e424bc86fbfb0cc1a22d /tools/msan
parentf6413d5aa9abf63f9236060264774bd66df48271 (diff)
downloadchromium_src-02a95e3084f979084fa8586e1718a6e6dd4c22da.zip
chromium_src-02a95e3084f979084fa8586e1718a6e6dd4c22da.tar.gz
chromium_src-02a95e3084f979084fa8586e1718a6e6dd4c22da.tar.bz2
Reland "Integrate SIMD optimisations for zlib"
This version uses a "pthread_once" implementation, using Windows synchronisation primitives, imported from tcmalloc. Previous CLs: https://codereview.chromium.org/677713002/ https://codereview.chromium.org/552123005 This version of the CL also runs fine on Windows Server 2003. These optimisations have been published on zlib mailing list and at https://github.com/jtkukunas/zlib/ This change merges the following optimisation patches: - "For x86, add CPUID check." - "Adds SSE2 optimized hash shifting to fill_window." - "add SSE4.2 optimized hash function" - "add PCLMULQDQ optimized CRC folding" From Jim Kukunas <james.t.kukunas@linux.intel.com>; and adapts them to the current zlib version in Chromium. The optimisations are enabled at runtime if all the necessary CPU features are present. As the optimisations require extra cflags to enable the compiler to use the instructions the optimisations are held in their own static library with a stub implementation to allow linking on other platforms. TEST=net_unittests(GZipUnitTest) passes, Chrome functions and performance improvement seen on RoboHornet benchmark on Linux Desktop BUG=401517 Review URL: https://codereview.chromium.org/678423002 Cr-Commit-Position: refs/heads/master@{#302799}
Diffstat (limited to 'tools/msan')
-rw-r--r--tools/msan/blacklist.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/msan/blacklist.txt b/tools/msan/blacklist.txt
index 96f5487..07b31c1 100644
--- a/tools/msan/blacklist.txt
+++ b/tools/msan/blacklist.txt
@@ -10,6 +10,9 @@ fun:ff_get_cpu_flags_x86
# Uninit in zlib. http://crbug.com/116277
fun:*MOZ_Z_deflate*
+# Uninit in zlib with SIMD intrinsic http://crbug.com/426868
+fun:crc_fold512_to_32
+
# Uninit in OSMesa. http://crbug.com/347967
fun:unpack_RGBA8888
fun:unpack_RGB888