RFR: 8339910: RISC-V: crc32 intrinsic with carry-less multiplication [v3]

Hamlin Li mli at openjdk.org
Thu Dec 5 09:16:38 UTC 2024


On Thu, 5 Dec 2024 07:15:47 GMT, Robbin Ehn <rehn at openjdk.org> wrote:

>> Hamlin Li has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   add some background description
>
> src/hotspot/cpu/riscv/stubRoutines_riscv.cpp line 494:
> 
>> 492:     0x5a546366UL, 0x00000001UL,
>> 493:     0x751997d0UL, 0x00000001UL,
>> 494:     0xccaa009eUL, 0x00000000UL,
> 
> Did you calculate these yourself, or where do they come from?

They're from aarch64 implementation, and I think x86 use the same ones.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22475#discussion_r1870961263


More information about the hotspot-dev mailing list