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

Ludovic Henry luhenry at openjdk.org
Tue Nov 19 15:09:49 UTC 2024


On Tue, 12 Nov 2024 09:52:51 GMT, Hamlin Li <mli at openjdk.org> wrote:

> > for this particular case, it has kernel 5.10 which has no hwprobe. so avoidUnaligned has to be disabled manually.
>
> Yes, the default behaviour is to use hwprobe to test the CPU features, so for k 230, the default behaviour should be fine, i.e. both AlignVector and AvoidUnalignedAccesses would be true, nothing changed.

Should we argue that hwprobe should have two flags, one for scalar and one for vector? We can talk to some hardware folks for that

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

PR Comment: https://git.openjdk.org/jdk/pull/21974#issuecomment-2485973418


More information about the hotspot-dev mailing list