Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: third_party/zlib/README.chromium

Issue 552123005: Integrate SIMD optimisations for zlib (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix crc_fold_copy to work with inputs where len % 16 > 0 Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 Name: zlib 1 Name: zlib
2 URL: http://zlib.net/ 2 URL: http://zlib.net/
3 Version: 1.2.5 3 Version: 1.2.5
4 Security Critical: yes 4 Security Critical: yes
5 License: Custom license 5 License: Custom license
6 License Android Compatible: yes 6 License Android Compatible: yes
7 7
8 Description: 8 Description:
9 General purpose compression library 9 General purpose compression library
10 10
11 Local Modifications: 11 Local Modifications:
12 A few minor changes, all marked with "Google": 12 A few minor changes, all marked with "Google":
13 - Added #ifdefs to avoid compile warnings when NO_GZCOMPRESS is defined. 13 - Added #ifdefs to avoid compile warnings when NO_GZCOMPRESS is defined.
14 - Removed use of strerror for WinCE in gzio.c. 14 - Removed use of strerror for WinCE in gzio.c.
15 - Added 'int z_errno' global for WinCE, to which 'errno' is defined in zutil.h. 15 - Added 'int z_errno' global for WinCE, to which 'errno' is defined in zutil.h.
16 - Added 'mozzconf.h' to mangle the function names. 16 - Added 'mozzconf.h' to mangle the function names.
17 - Added logic in zlib.h to undef our earlier mangles when defaulting to 64 bit o ffset versions of API. 17 - Added logic in zlib.h to undef our earlier mangles when defaulting to 64 bit o ffset versions of API.
18 The 'google.patch' file represents our changes from the original zlib-1.2.5. 18 The 'google.patch' file represents our changes from the original zlib-1.2.5.
19 19
20 A more significant change to support mixed-source data compression. See 20 A more significant change to support mixed-source data compression. See
21 crbug.com/139744 and mixed-source.patch. 21 crbug.com/139744 and mixed-source.patch.
22
23 Integrated Intel SIMD optimisations from: https://github.com/jtkukunas/zlib/
24 and modified to accomodate the older version and existing changes in tree.
25
26 This introduces new files: simd_stub.c, crc_folding.c, fill_window_sse.c and
27 x86.[ch]. All but the latter are built into a static library to allow the
28 compiler to use the desired instructions only when valid. The latter version is
29 only built on x86 (32-bit and 64-bit) systems with it's functionality stubbed
30 on the others.
31
32 Other changes to accomodate:
33 - fill_window() implementation calls into _sse() variant when supported and the
34 original implementation renamed to _c()
35 - read_buf was moved from local to ZLIB_INTERNAL for fill_window_sse.c to use
36 - INSERT_STRING macro was made a function, insert_string() and an implementation using CRC instruction added
37 - some crc funcionality moved into crc32.c
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698