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

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


On Wed, 15 Feb 2023 09:48:54 GMT, Volker Simonis <simonis at openjdk.org> wrote:

>> Yi-Fan Tsai has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Change to UseCryptoPmullForCRC32
>
> src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp line 3777:
> 
>> 3775: 
>> 3776:   if (UseCRC32) {
>> 3777:       if (UseCryptoPmullForCRC32) {
> 
> Whis is this inside `UseCRC32`? It means that if we set `-XX:-UseCRC32 -XX:+UseCryptoPmullForCRC32` on the command line, we won't get `UseCryptoPmullForCRC32`

crc32 instructions are used to process remaining input not multiple of 128 bytes. The dependency between these two options is removed.

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

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


More information about the hotspot-dev mailing list