RFR: 8302113: Improve CRC32 intrinsic with crypto pmull on AArch64 [v3]

Yi-Fan Tsai duke at openjdk.org
Thu Feb 16 06:25:28 UTC 2023


On Wed, 15 Feb 2023 10:18:33 GMT, Andrew Haley <aph at openjdk.org> wrote:

>> Changed to UseCryptoPmullForCRC32 as there is another pmull version.
>
>> Changed to UseCryptoPmullForCRC32 as there is another pmull version.
> 
> Can you give me a reference for that? I can only find one definition of pmull.

There will be two pmull implementations
1) `-XX:+UseCryptoPmullForCRC32` to use this 64x64 pmull implementation
2) `-XX:-UseCryptoPmullForCRC32 -XX:-UseCRC32 -XX:+UseNeon` to use the [8x8 pmull implementation](https://github.com/openjdk/jdk/blob/1ef9f6507ba45419f0fa896915eec064762c5153/src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp#L3753).

-------------

PR: https://git.openjdk.org/jdk/pull/12480


More information about the hotspot-dev mailing list