Use crypto pmull for CRC32(C) on Ampere CPU and improve for short inputs

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 25
    • Component/s: hotspot
    • None
    • 21
    • aarch64
    • generic

      Crypto pmull instructions out-perform crc32/crc32c instructions for crc32/crc32c intrinsics on Ampere CPU. The intrinsics from JDK-8302113 and JDK-8302783 use pmull for the lengths higher than 383, while there are still benefits for the lengths from 256 to 383. The original intrinsics seem able to handle 256 as well. So this issue is to enable crypto pmull for crc32/crc32c when the length >= 256.

            Assignee:
            Liming Liu
            Reporter:
            Liming Liu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: