RFR: 8317721: RISC-V: Implement CRC32 intrinsic [v2]

ArsenyBochkarev duke at openjdk.org
Thu Dec 21 22:20:16 UTC 2023


On Thu, 21 Dec 2023 12:56:59 GMT, Feilong Jiang <fjiang at openjdk.org> wrote:

>> ArsenyBochkarev has updated the pull request incrementally with three additional commits since the last revision:
>> 
>>  - Use zero_extend instead of shifts where possible
>>  - Use andn instead of notr + andr where possible
>>  - Replace shNadd with one instruction in most cases
>
> src/hotspot/cpu/riscv/stubGenerator_riscv.cpp line 4637:
> 
>> 4635:    *
>> 4636:    * Output:
>> 4637:    *       rax   - int crc result
> 
> should be `a0` or `x10`?

`a0`, of course.  Thanks, fixed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17046#discussion_r1434553222


More information about the hotspot-compiler-dev mailing list