Commit 11406d02 authored by zljing's avatar zljing Committed by Zhanglong Jing
Browse files

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).
adler32 use NEON instruction

10% benefit for PNG decoding

CRs-Fixed: 2420347

Change-Id: I51d4a257b8a51b6839c0fd7fede8c0fa5fb21cce
parent a5558674
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment