RFR: 8343827: RISC-V: set AlignVector as false if applicable to enable SLP [v2]

Hamlin Li mli at openjdk.org
Tue Nov 19 16:01:07 UTC 2024


On Tue, 19 Nov 2024 15:04:10 GMT, Ludovic Henry <luhenry at openjdk.org> wrote:

>> Hamlin Li has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   refine code
>
> src/hotspot/cpu/riscv/vm_version_riscv.cpp line 174:
> 
>> 172: 
>> 173:   if (FLAG_IS_DEFAULT(AlignVector)) {
>> 174:     AlignVector = AvoidUnalignedAccesses;
> 
> Nit: Should that be `FLAG_SET_DEFAULT(AlignVector, AvoidUnalignedAccesses)`?

It makes sense to me, fixed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21974#discussion_r1848624405


More information about the hotspot-dev mailing list