RFR: 8360520: RISC-V: C1: Fix primitive array clone intrinsic regression after JDK-8333154 [v2]

Feilong Jiang fjiang at openjdk.org
Sun Jul 6 13:22:49 UTC 2025


On Fri, 4 Jul 2025 05:25:08 GMT, Fei Yang <fyang at openjdk.org> wrote:

>> Feilong Jiang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
>> 
>>  - Merge branch 'master' of https://github.com/openjdk/jdk into riscv-fix-c1-primitive-clone
>>  - check unaligned flag at LIR_OpArrayCopy to avoid using AvoidUnalignedAccesses
>>  - riscv: fix c1 primitive array clone intrinsic regression
>
> src/hotspot/share/c1/c1_Compiler.cpp line 240:
> 
>> 238: #endif
>> 239:   case vmIntrinsics::_getObjectSize:
>> 240: #if defined(X86) || defined(AARCH64) || defined(S390) || defined(RISCV64) || defined(PPC64)
> 
> PS: The change of macro `RISCV` seems unrelated to this PR? Seem better to go with another PR.

Reverted.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25976#discussion_r2188269110


More information about the hotspot-compiler-dev mailing list