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

Issue 2676493007: NEON implementation for Adler32

Created:
3 years, 10 months ago by adenilson.cavalcanti
Modified:
3 years, 4 months ago
CC:
chromium-reviews, esprehn
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

NEON implementation for Adler32 The checksum is calculated in the uncompressed PNG data and can be made much faster by using SIMD. Tests in ARMv8 yielded an improvement of about 3x (e.g. walltime was 350ms x 125ms for a 4096x4096 bytes executed 30 times). This alone yields a performance boost for PNG decoding ranging from 5% to 18% depending on a few factors (SoC, battery status, etc). BUG=688601

Patch Set 1 #

Total comments: 2

Patch Set 2 : BUILD.gn fix, style. #

Patch Set 3 : Rebased with master, added NEON code in a patch, updated README #

Patch Set 4 : Typo. #

Patch Set 5 : Rebased with master #

Total comments: 2

Patch Set 6 : Coding style. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+374 lines, -1 line) Patch
M third_party/zlib/BUILD.gn View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/zlib/README.chromium View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M third_party/zlib/adler32.c View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download
A third_party/zlib/neon_adler32.h View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
A third_party/zlib/neon_adler32.c View 1 2 3 4 5 1 chunk +120 lines, -0 lines 0 comments Download
A third_party/zlib/neon_adler32.patch View 1 2 3 4 5 1 chunk +225 lines, -0 lines 0 comments Download

Messages

Total messages: 45 (32 generated)
cavalcantii1
3 years, 10 months ago (2017-02-04 18:40:28 UTC) #6
cavalcantii1
https://codereview.chromium.org/2676493007/diff/1/third_party/zlib/BUILD.gn File third_party/zlib/BUILD.gn (right): https://codereview.chromium.org/2676493007/diff/1/third_party/zlib/BUILD.gn#newcode64 third_party/zlib/BUILD.gn:64: "neon_adler32.h", Forgot this one, got remove it. https://codereview.chromium.org/2676493007/diff/1/third_party/zlib/neon_adler32.c File ...
3 years, 10 months ago (2017-02-04 18:53:02 UTC) #7
cavalcantii1
3 years, 10 months ago (2017-02-17 22:50:19 UTC) #21
f(malita)
Nice speedup! Deferring actual Neon review to msarett. (the .patch + checked-in code duplication seems ...
3 years, 10 months ago (2017-02-21 14:36:37 UTC) #24
msarett1
Have you suggested this patch to upstream (madler/zlib)? Do you have a macrobenchmark for anything ...
3 years, 10 months ago (2017-02-21 14:39:42 UTC) #25
cavalcantii1
@florin Thanks for the review, I just uploaded an updated patch with the coding style ...
3 years, 10 months ago (2017-02-21 21:20:51 UTC) #30
msarett1
On 2017/02/21 21:20:51, cavalcantii1 wrote: > @florin > > Thanks for the review, I just ...
3 years, 10 months ago (2017-02-21 21:35:10 UTC) #31
cavalcantii1
> That makes me think that madler/zlib is not such a healthy project for us ...
3 years, 10 months ago (2017-02-22 01:16:57 UTC) #32
msarett1
On 2017/02/22 01:16:57, cavalcantii1 wrote: > > That makes me think that madler/zlib is not ...
3 years, 10 months ago (2017-02-22 18:19:51 UTC) #33
sebpop
On 2017/02/22 18:19:51, msarett1 wrote: > On 2017/02/22 01:16:57, cavalcantii1 wrote: > > The project ...
3 years, 9 months ago (2017-03-03 15:33:48 UTC) #34
cavalcantii1
> I would recommend moving this patch to zlib-ng who expressed interest > in integrating ...
3 years, 8 months ago (2017-03-28 22:20:45 UTC) #37
msarett1
On 2017/03/28 22:20:45, cavalcantii1 wrote: > > I would recommend moving this patch to zlib-ng ...
3 years, 8 months ago (2017-03-28 22:37:27 UTC) #38
cavalcantii1
3 years, 7 months ago (2017-05-12 22:06:20 UTC) #42

Powered by Google App Engine
This is Rietveld 408576698