- Sep 08, 2022
-
-
Spandan Das authored
This creates a dependency edge between the ndk_library and its headers, which should be a no-op in regular Soong builds. This dependency edge will be used in the Multi-tree project to export the relevant .h files into a well known location Test: m nothing Bug: 239044713 Change-Id: I353794e005f69dc349ad15db47c8881dd506dff2
-
- Aug 15, 2022
-
-
Chih-hung Hsieh authored
Original change: https://android-review.googlesource.com/c/platform/external/zlib/+/2184336 Change-Id: I2ef328e0a657b98e8c410ca552f2a09a4bded0b5 Signed-off-by:
Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-
Chih-hung Hsieh authored
-
- Aug 12, 2022
-
-
Chih-Hung Hsieh authored
* Reduce number of warnings in a default global build. * They should be fixed before AOSP upgrade to C2x. Bug: 239661264 Bug: 241601211 Test: presubmit Change-Id: I76ccfe11af97c51802b60b68f4fb125b99a02d4e
-
- Jun 29, 2022
-
-
Elliott Hughes authored
Original change: https://android-review.googlesource.com/c/platform/external/zlib/+/2138855 Change-Id: I832556dc1a1942f6ea504b784e61604ae3f3b031 Signed-off-by:
Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-
Elliott Hughes authored
-
- Jun 28, 2022
-
-
Elliott Hughes authored
Test: treehugger Change-Id: Ie61795805aa4f17cdcc3e6f45b30ea7475858885
-
- May 31, 2022
-
-
Henrique Ferreiro authored
That target is only used in //third_party/zlib:*, so make that explicit. From documentation (https://gn.googlesource.com/gn/+/master/docs/reference.md#var_visibility) this change will make the given target 'private' only to the current build file. No expected change in behavior, but a nice cleanup. Change-Id: I0bc111bd7bda05b450f7d1b82aebbd5bdc746b05 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3672796 Reviewed-by:
Adenilson Cavalcanti <cavalcantii@chromium.org> Reviewed-by:
Noel Gordon <noel@chromium.org> Commit-Queue: Henrique Ferreiro <hferreiro@igalia.com> Cr-Commit-Position: refs/heads/main@{#1009027} NOKEYCHECK=True GitOrigin-RevId: f2c70a1264eff5f762bf97d2c50e15116c2633dc
-
Alex Danilo authored
Bug: 953256 Tests: Tests: components_unittests --gtest_filter='UnzipTest.GetExtractedProgressSize*' Change-Id: I8fc9b19db793bbdd4673ae5d1a96e4e6eca56517 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3665160 Reviewed-by:
Noel Gordon <noel@chromium.org> Reviewed-by:
François Degros <fdegros@chromium.org> Reviewed-by:
Dominick Ng <dominickn@chromium.org> Commit-Queue: Alex Danilo <adanilo@chromium.org> Cr-Commit-Position: refs/heads/main@{#1008974} NOKEYCHECK=True GitOrigin-RevId: 0f10dd05940d26f6aebe12aa43dc6d3b333abba9
-
- May 23, 2022
-
-
Adenilson Cavalcanti authored
This reverts commit a0771caebe87477558454cc6d793562e3afe74ac. Reason for revert: Missing call to CPU features detection Original change's description: > [zlib] Adding PMULL based CRC-32 for aarch64 > > Using the polynomial multiplication instruction allows to improve a bit > more the decompression speed of gzipped content in zlib. > > The average gains are not massive though (around +4.9%), but is more expressive > for some relevant content (e.g. +10% for HTMLx4 & JPEG, +6% for JS) in more > recent chip designs. > > Since Chrome is distributed as a 64bit binary (i.e. aarch64) only for > higher end devices, it should be safe from a performance perspective. > > For lower spec devices, the same serial crc32 code using the crypto > extensions is used, therefore no change on behavior for 32bit. > > Bug: 873725 > Change-Id: I33b9b345b82b5256ec922324984f9a371949bbe6 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2422723 > Reviewed-by:
Chris Blume <cblume@chromium.org> > Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1006184} Bug: 873725 Change-Id: I7b6a2bfb60a96bc640b59187c5dd63590d09599e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3659852 Reviewed-by:
Noel Gordon <noel@chromium.org> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Commit-Queue: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/main@{#1006331} NOKEYCHECK=True GitOrigin-RevId: 42a820acf433146b284bb195b0c3507244cf1c30
-
- May 22, 2022
-
-
Adenilson Cavalcanti authored
Using the polynomial multiplication instruction allows to improve a bit more the decompression speed of gzipped content in zlib. The average gains are not massive though (around +4.9%), but is more expressive for some relevant content (e.g. +10% for HTMLx4 & JPEG, +6% for JS) in more recent chip designs. Since Chrome is distributed as a 64bit binary (i.e. aarch64) only for higher end devices, it should be safe from a performance perspective. For lower spec devices, the same serial crc32 code using the crypto extensions is used, therefore no change on behavior for 32bit. Bug: 873725 Change-Id: I33b9b345b82b5256ec922324984f9a371949bbe6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2422723 Reviewed-by:
Chris Blume <cblume@chromium.org> Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org> Cr-Commit-Position: refs/heads/main@{#1006184} NOKEYCHECK=True GitOrigin-RevId: a0771caebe87477558454cc6d793562e3afe74ac
-
- May 18, 2022
-
-
Peter Kasting authored
std::string::max_size() is constexpr in C++20, which lets the compiler determine that a comparison can never succeed. Cast to prevent a resulting warning. Bug: 1284275 Change-Id: Ib56f3a9a114b9f3d2210df7846869f9452a60a58 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3649750 Reviewed-by:
Satoru Takabayashi <satorux@chromium.org> Commit-Queue: Satoru Takabayashi <satorux@chromium.org> Auto-Submit: Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/main@{#1004522} NOKEYCHECK=True GitOrigin-RevId: 997528f9568938b61c551ff62315ecc0d1385b05
-
- May 17, 2022
-
-
Adenilson Cavalcanti authored
Plus add flag for unused variables since it is active on V8 bazel builders. Bug: 103721 Change-Id: I73eac19583e567434d9971ef112562fe18d42a60 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3646604 Reviewed-by:
Noel Gordon <noel@chromium.org> Reviewed-by:
Chris Blume <cblume@chromium.org> Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org> Cr-Commit-Position: refs/heads/main@{#1004117} NOKEYCHECK=True GitOrigin-RevId: 0ff4a51a6dc62ede3e208f80ac01520b690b7f99
-
- May 15, 2022
-
-
Noel Gordon authored
zlib_compress deflate() should consume all the input data. Add a check and fail the deflation if there is unconsumed input data when the zlib deflate() call returns. What about inflate()? zlib_bench knows the expected length of the data (it is the original input length) and fails with a Z_DATA_ERROR if the zlib_uncompress inflate() output data length does not match. Bug: 798943 Change-Id: Ibdc9752754a52343ea6139ce9cc5a99c2a0a57a7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3630105 Auto-Submit: Noel Gordon <noel@chromium.org> Reviewed-by:
Chris Blume <cblume@chromium.org> Commit-Queue: Chris Blume <cblume@chromium.org> Cr-Commit-Position: refs/heads/main@{#1003565} NOKEYCHECK=True GitOrigin-RevId: 4cc4f4c0086c2e5ad52bff6be7e2430b72ebcba9
-
- May 13, 2022
-
-
Noel Gordon authored
V8 bazel builders failed build due to an unused variable |n| in the 1.2.12 crc32_combine64(crc1, crc2, len2) function. Remove it. Bug: 1032721 Change-Id: I087dde0d7abd46da5455f3f4844333a31d22c0f9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3647250 Reviewed-by:
Hans Wennborg <hans@chromium.org> Commit-Queue: Hans Wennborg <hans@chromium.org> Auto-Submit: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/main@{#1003070} NOKEYCHECK=True GitOrigin-RevId: df853fb66127baf3668a1fabbc951860046dadd3
-
- May 12, 2022
-
-
Chris Blume authored
Currently, I am the only person listed in the OWNERS file for zlib's fuzzers. Having only a single OWNER is not ideal. Noel and Hans have both been active in this area. This commit adds Noel and Hans as OWNERS of zlib's fuzzers. Change-Id: I6558e2ec77f777193ae87638fdcb69c7c8f9cd4d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3637973 Reviewed-by:
Noel Gordon <noel@chromium.org> Reviewed-by:
Hans Wennborg <hans@chromium.org> Commit-Queue: Chris Blume <cblume@chromium.org> Cr-Commit-Position: refs/heads/main@{#1002696} NOKEYCHECK=True GitOrigin-RevId: f009ecea72b8d0eba5a647f333e7c6128e1a9de7
-
Alex Danilo authored
Bug: 953256 Change-Id: I3f18cdbd6551a3c1e768354c8452cfc6de0d875c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3641229 Commit-Queue: Noel Gordon <noel@chromium.org> Reviewed-by:
Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/main@{#1002527} NOKEYCHECK=True GitOrigin-RevId: c09ef1fb4048d7ea2d59543a46b8c73a4ec9d8e6
-
Alex Danilo authored
Adds parsing of the Info-ZIP Extra field which overrides the file name in the File Header only if the CRC in the extra field is a CRC of the file name in the File Header. See https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT section 4.6.9 for reference. Also tidied up some whitespace indent. Bug: 953256, 953599 Tests: Manually tested, auto test in follow on CL Change-Id: I1283dcb88a203c3bb56c1d9c504035a2e51aecbd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3641742 Reviewed-by:
Noel Gordon <noel@chromium.org> Commit-Queue: Alex Danilo <adanilo@chromium.org> Cr-Commit-Position: refs/heads/main@{#1002476} NOKEYCHECK=True GitOrigin-RevId: c8834821f452a3d424edd0ed2a1e9ceeda38d0ea
-
- May 03, 2022
-
-
Peter Kasting authored
This helps prevent ambiguous symbol issues in C++20 and should have been the case anyway. Bug: 1284275 Change-Id: I86210c7b1c8133e8c872930e9e1fdf86b663e104 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3615258 Auto-Submit: Peter Kasting <pkasting@chromium.org> Reviewed-by:
Hongchan Choi <hongchan@chromium.org> Reviewed-by:
Lei Zhang <thestig@chromium.org> Owners-Override: Lei Zhang <thestig@chromium.org> Commit-Queue: Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/main@{#998789} NOKEYCHECK=True GitOrigin-RevId: cc88ac052b7d86a19a2f553e1b47037e0250c639
-
- May 02, 2022
-
-
Arthur Eubanks authored
Fix an instance in libevent. Sink -Wno-deprecated-non-prototype into zlib, it's the only remaining library where this warning fires. (upstream bug https://github.com/madler/zlib/issues/633) Bug: 1314867 Change-Id: I2547ba1b358ab90ec6dece4f0879b2ebe6f59820 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3615937 Reviewed-by:
Nico Weber <thakis@chromium.org> Commit-Queue: Arthur Eubanks <aeubanks@google.com> Cr-Commit-Position: refs/heads/main@{#998593} NOKEYCHECK=True GitOrigin-RevId: cbba1d4d16d3dfeb51421749cafa34c2666f8b26
-
Noel Gordon authored
In zlib, hash_size is 1 << s->hash_bits or 65536 (at most) at maximum memory level which makes the Assert(hash_size == (ush)hash_size) fail at maximum zlib memory level (issue 1321435). Fix this incorrect Assert: test that hash_size is bounded viz., 1<<16 at most, and 1<<8 at least. Bug: 1316541, 1321435 Change-Id: Id1d28b1901905dcfdb889fcd5d3cdbc2a3d478a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3617306 Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org> Reviewed-by:
Adenilson Cavalcanti <cavalcantii@chromium.org> Cr-Commit-Position: refs/heads/main@{#998237} NOKEYCHECK=True GitOrigin-RevId: 0e8968867160101c6726e979fae136b560e54def
-
- Apr 30, 2022
-
-
Noel Gordon authored
Given an input file corpus, run zlib_bench --check[-binary] over those files and output the results to stdout. Bug: 798943,1316541 Change-Id: If99ea34af7f05698e8cea1dc3ca7e548b9f9d1bc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3614630 Reviewed-by:
Adenilson Cavalcanti <cavalcantii@chromium.org> Commit-Queue: Noel Gordon <noel@chromium.org> Auto-Submit: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/main@{#998063} NOKEYCHECK=True GitOrigin-RevId: 25ee43caf00528cee12f4d10c6202766ebe0afe7
-
Noel Gordon authored
If USE_ZLIB_RABIN_KARP_ROLLING_HASH build-time option is defined, use the Rabin-Karp hash. This disables CRC SIMD hashing on ARM and Intel, which will degrade compression speed. However, the compressed output matches canonical zlib output, for the same input, and that should resolve ASOP OTA issue 1316541. To ensure the Rabin-Karp hash is used correctly in chromium zlib, the first step is to go back to using canonical fill_window(). To do this combine the ARM NEON and Intel SSE2 slide_hash() routines in a common framework called slide_hash_simd(). Remove fill_window_sse.c and undo deflate_read_buf() rename: name it back to canonical read_buf(). Change insert_string(): by default it uses CRC32C hashes on all ports (ARM, Intel) so add code comments to state that. If Rabin-Karp hashes are enabled, disable CRC32C hashes. Add a new deflate internal state variable chromium_zlib_hash, used to detect which type of hashing is enabled (Rabin-Karp, CRC32C). Set the state variable in deflateInit2_ after cpu_check_features() detection, with #ifdef guards matching the #ifdef logic of insert_string(). Change canonical fill_window() to insert hashes into {hash,prev} hash chains based on hash type (Rabin-Karp, CRC32C). Prior to this change, the ARM port was inserting Rabin-Karp hashes into hash chains even if CRC32 hashing was active when s->insert was > 0. Change longest_match() and deflate_fast(): update them to use the new deflate state variable chromium_zlib_hash. Compression performance degrades when Rabin-Karp hashing is used, but is unchanged when CRC32C hashing is enabled (chromium zlib default). Compat: if Rabin-Karp hashing is enabled, zlib-bench --check built as normal and against canonical zlib 1.2.11, produce the same compressed output for the snappy corpora for gzip,zlib,raw types and compression levels 1..9. Bug: 1316541 Change-Id: I0d5ee6240f0b7eac4653d60a29d459d994c3871f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3596671 Reviewed-by:
Chris Blume <cblume@chromium.org> Commit-Queue: Noel Gordon <noel@chromium.org> Reviewed-by:
Adenilson Cavalcanti <cavalcantii@chromium.org> Cr-Commit-Position: refs/heads/main@{#998062} NOKEYCHECK=True GitOrigin-RevId: 2bd100e46361a459b41a29212ea8f97a4837a06c
-
Noel Gordon authored
Per CL:3591994 if the --check option is given, compress the input file and output the length and crc32 of the compressed data. Add check option modifier: --check-binary, which writes the compressed data to the output as well. Also normalize the check output compression details: use the base-name of the input file, instead of its full-path name. Bug: 798943,1316541 Change-Id: Ia27f09b1ad583bda8e9c82c62a5b24b619f6713a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3616433 Commit-Queue: Noel Gordon <noel@chromium.org> Auto-Submit: Noel Gordon <noel@chromium.org> Reviewed-by:
Adenilson Cavalcanti <cavalcantii@chromium.org> Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org> Cr-Commit-Position: refs/heads/main@{#998055} NOKEYCHECK=True GitOrigin-RevId: 5ae6f05e848868027ac1a78f191c4a43919e8c94
-
- Apr 29, 2022
-
-
Adenilson Cavalcanti authored
The last two changes came from the 'develop' branch of canonical zlib and should address some issues on 1.2.12 that are going to be featured on the upcoming 1.2.12.x. With this patch landing, Chromium's zlib will be 1.2.12 + fixes (plus our optimizations). Ported: - Eliminate use of ULL constants. - Fix crc32.c to compile local functions only if used. - zlib 1.2.12 - Silence some warnings from Visual Studio C. - Correct incorrect inputs provided to the CRC functions. Bug: 1032721 Change-Id: I3903ae4de5f42427fae1cca8052ad300f5a07b30 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3611239 Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org> Reviewed-by:
Chris Blume <cblume@chromium.org> Reviewed-by:
Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/main@{#997532} NOKEYCHECK=True GitOrigin-RevId: 9eb3d1c886a4dd302304241e74a75127e2069d17
-
- Apr 28, 2022
-
-
Adenilson Cavalcanti authored
Ported: - Avoid adding empty gzip member after gzflush with Z_FINISH. - Fix error in comment on the polynomial representation of a byte. - Clarify gz* function interfaces, referring to parameter names. - Change macro name in inflate.c to avoid collision in VxWorks. - Replace black/white with allow/block. (theresa-m) - Add fallthrough comments for gcc. Bug: 1032721 Change-Id: Iddabef8450dca9dced3df58473a0ecb197796dc4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3611483 Reviewed-by:
Noel Gordon <noel@chromium.org> Reviewed-by:
Chris Blume <cblume@chromium.org> Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org> Cr-Commit-Position: refs/heads/main@{#996983} NOKEYCHECK=True GitOrigin-RevId: c47a52f8f7950377f45f850cf66092a4a6033fa6
-
- Apr 27, 2022
-
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/external/zlib/+/2076859 Change-Id: Idef232d0b2696ef711fc5117ba761bc3da61dbf0 Signed-off-by:
Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/external/zlib/+/2076859 Change-Id: Ib7672c582f97adf0cbe44ed6afdf7a5c49fb92a4 Signed-off-by:
Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-
Treehugger Robot authored
-
- Apr 26, 2022
-
-
Adenilson Cavalcanti authored
This time we add an extra guard where it is required to explicitly activate the new Armv8.1 CRC-32 provided by zlib 1.2.12 (i.e. USE_CANONICAL_ARMV8_CRC32) since we measured and the serial implementation that we ship since early 2018 is slightly faster. Ported: - Add use of the ARMv8 crc32 instructions when requested. - Use ARM crc32 instructions if the ARM architecture has them. - Explicitly note that the 32-bit check values are 32 bits. Bug: 1032721 Change-Id: I0ca87270ef470de243e62e9056ed0cd195da21ec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3607702 Reviewed-by:
Noel Gordon <noel@chromium.org> Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org> Cr-Commit-Position: refs/heads/main@{#996421} NOKEYCHECK=True GitOrigin-RevId: 43824b58db1f48f93a50194c0488ec4495f4c492
-
Colin Cross authored
Export the zlib headers to the musl sysroot so that libclang.so can compile against libz.a. Bug: 216192129 Test: builds Change-Id: I82810a69742878ef6c8b5c0f20add02d2a435ad5
-
Findit authored
This reverts commit 096d2447f2fdecf9693db32ba50858d5e31cca34. Reason for revert: Findit (https://goo.gl/kROfz5) identified this CL at revision 096d2447f2fdecf9693db32ba50858d5e31cca34 as the culprit for failures in the continuous build including: Sample Failed Build: https://ci.chromium.org/b/8815840511093637041 Sample Failed Step: compile If it is a false positive, please report it at https://bugs.chromium.org/p/chromium/issues/entry?status=Available&comment=Datastore+key+for+the+culprit+entity%3A+chromium.googlesource.com%2Fchromium%2Fsrc%2Frefs%2Fheads%2Fmain%2F096d2447f2fdecf9693db32ba50858d5e31cca34&labels=Test-Findit-Wrong&components=Tools%3ETest%3EFindIt&summary=Wrongly+blame+096d2447f2fdecf9693db32ba50858d5e31cca34 Original change's description: > [zlib] Re-sync with zlib 1.2.12, patch 13 of N > > Ported: > - Add use of the ARMv8 crc32 instructions when requested. > - Use ARM crc32 instructions if the ARM architecture has them. > - Explicitly note that the 32-bit check values are 32 bits. > > Bug: 1032721 > Change-Id: Ic988198b20de6f59c5fbcd3d37a33d2594380b28 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3607170 > Reviewed-by:
Noel Gordon <noel@chromium.org> > Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org> > Cr-Commit-Position: refs/heads/main@{#996030} Change-Id: Ic2edd4bdc8c8f5538414ce8e71b8666e271752df No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1032721 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3607182 Reviewed-by:
Christopher Lam <calamity@chromium.org> Commit-Queue: Christopher Lam <calamity@chromium.org> Owners-Override: Christopher Lam <calamity@chromium.org> Cr-Commit-Position: refs/heads/main@{#996033} NOKEYCHECK=True GitOrigin-RevId: 7acb20d251cd57c13e3f04fa41be7b9c83d06d5e
-
Adenilson Cavalcanti authored
Ported: - Add use of the ARMv8 crc32 instructions when requested. - Use ARM crc32 instructions if the ARM architecture has them. - Explicitly note that the 32-bit check values are 32 bits. Bug: 1032721 Change-Id: Ic988198b20de6f59c5fbcd3d37a33d2594380b28 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3607170 Reviewed-by:
Noel Gordon <noel@chromium.org> Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org> Cr-Commit-Position: refs/heads/main@{#996030} NOKEYCHECK=True GitOrigin-RevId: 096d2447f2fdecf9693db32ba50858d5e31cca34
-
- Apr 25, 2022
-
-
Adenilson Cavalcanti authored
Ported: - Use atomic test and set, if available, for dynamic CRC tables - Correct comment in crc32.c Bug: 1032721 Change-Id: Iabbfb759c83fc629f3d618e3b6aee98fa50b6aee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3605954 Reviewed-by:
Noel Gordon <noel@chromium.org> Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org> Cr-Commit-Position: refs/heads/main@{#995877} NOKEYCHECK=True GitOrigin-RevId: d5498c6134bec53234615dcd02efa3b522070e73
-
- Apr 22, 2022
-
-
Adenilson Cavalcanti authored
Ported: - Add tables for crc32_combine(), to speed it up by a factor of 200 - Add crc32_combine_gen() and crc32_combine_op() for fast combines - Speed up software CRC-32 computation by a factor of 1.5 to 3 Bug: 1032721 Change-Id: Ia6a1fd31e5d264813e2d6bb307d95123c855240c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3584144 Reviewed-by:
Noel Gordon <noel@chromium.org> Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org> Cr-Commit-Position: refs/heads/main@{#995069} NOKEYCHECK=True GitOrigin-RevId: 3b3abb30607889eccfb38d02cc13a17da6130b9b
-
- Apr 21, 2022
-
-
Adenilson Cavalcanti authored
This change will allow Chromium's zlib to use the portable hash function provided by canonical zlib (i.e. Rabin-Karp). This switch is available during compiling time, but it will regress compression performance. Bug: 1316541 Change-Id: Ie2f3662c60221a7a0cc4d8d7b65745994a797e96 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3587609 Reviewed-by:
Chris Blume <cblume@chromium.org> Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org> Reviewed-by:
Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/main@{#994782} NOKEYCHECK=True GitOrigin-RevId: dbb1ac4d43c8d854a44f94ed9cc0303ae77230f1
-
Noel Gordon authored
This is a just CHROMIUM_ZLIB_NO_CASTAGNOLI synonym and can be used in chromium zlib code to guard UPDATE_HASH fixes. Add references, to explain Rabin-Karp use in zlib, for the curious. Not used yet, so no change in behavior. Bug: 1316541 Change-Id: I321bf7c245c1ca63ead4627f17cf1d58f7d98b26 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3587989 Auto-Submit: Noel Gordon <noel@chromium.org> Reviewed-by:
Chris Blume <cblume@chromium.org> Commit-Queue: Chris Blume <cblume@chromium.org> Cr-Commit-Position: refs/heads/main@{#994634} NOKEYCHECK=True GitOrigin-RevId: 6a5338eeabda806f43a9c7d589cc317c2ec6d050
-
- Apr 20, 2022
-
-
Noel Gordon authored
After CL:1960893, there are no calls to crc32_simd.h API anymore from deflate.c code. Remove this unused include file. No change in behavior. Bug: 1316541 Change-Id: Ia5953ef1536310970e006d82f8e9a4a836c8acc7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3592421 Reviewed-by:
Hans Wennborg <hans@chromium.org> Reviewed-by:
Adenilson Cavalcanti <cavalcantii@chromium.org> Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org> Commit-Queue: Noel Gordon <noel@chromium.org> Auto-Submit: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/main@{#994195} NOKEYCHECK=True GitOrigin-RevId: f480d12c204852ebe388183a8e3ae67952a80038
-
- Apr 19, 2022
-
-
Noel Gordon authored
If --check option is given, compress the input file. Report the length of the compresssed data, and the crc32 of the compressed data. For the GZIP and ZLIB DEFLATE stream types, also report the data those stream types [1] store at the end of the compressed data. Add the --check option to program usage message. Also change the usage message to always report the zlib verion number. [1] See RFC-1952 GZIP, RFC 1950 ZLIB. Bug: 798943,1316541 Change-Id: Id9d5a918b3ae142077d654f82ca6c9bd40762cfe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3591994 Auto-Submit: Noel Gordon <noel@chromium.org> Reviewed-by:
Adenilson Cavalcanti <cavalcantii@chromium.org> Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org> Cr-Commit-Position: refs/heads/main@{#993581} NOKEYCHECK=True GitOrigin-RevId: ce61cdae957433ff9955863b07826f0d6fdc9f3c
-
- Apr 11, 2022
-
-
Adenilson Cavalcanti authored
Validated build is fine for V8@Win10 with MSVC. Ported: - Avoid the use of ptrdiff_t Bug: 1032721 Change-Id: I27c290bf29321c3000ffd8edfa53f21b900859d5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3579804 Reviewed-by:
Chris Blume <cblume@chromium.org> Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org> Cr-Commit-Position: refs/heads/main@{#991240} NOKEYCHECK=True GitOrigin-RevId: bf6fd995251659eb7d57e3ef453f37e1f0d55aa8
-