mirror of
https://github.com/abseil/abseil-cpp.git
synced 2026-06-04 12:07:05 +08:00
My previous CL optimized the Barrett reduction. But since this is CRC32C and scalar instructions for it are available, there is actually no need for Barrett reduction at all. Just use two 64-bit CRC32C instructions to reduce fullCRC. This improves CRC32C performance on 2048-byte messages on Skylake by another 2% or so. PiperOrigin-RevId: 739977426 Change-Id: I4611af88cd32ed7a995e772a13c30e3bdcec8de9