[zlib] Re-sync with zlib 1.2.12, patch 13 of N (Reland)
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.
- 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.
Reviewed-by: Noel Gordon <email@example.com>
Commit-Queue: Adenilson Cavalcanti <firstname.lastname@example.org>
2 files changed