RFR: 8368722: RISC-V: Several vector load/store tests fail due to lack of support for misaligned vector access [v3]
Dingli Zhang
dzhang at openjdk.org
Fri Oct 10 01:50:04 UTC 2025
On Thu, 9 Oct 2025 18:40:56 GMT, Hamlin Li <mli at openjdk.org> wrote:
>> Dingli Zhang 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 remote-tracking branch 'upstream/master' into JDK-8368722-20251009
>> - Add supports_misaligned_vector_accesses
>> - 8368722: RISC-V: Several vector load/store tests fail without support for misaligned vector access
>
> src/hotspot/cpu/aarch64/vm_version_aarch64.hpp line 202:
>
>> 200: constexpr static bool supports_secondary_supers_table() { return true; }
>> 201:
>> 202: constexpr static bool supports_misaligned_vector_accesses() { return true; }
>
> Does this `supports_misaligned_vector_accesses` equal to `AlignVector` option?
For RISC-V, `supports_misaligned_vector_accesses` is only determined by hwprode, while `AlignVector` can also be modified by the user on platforms that support misaligned vector accesses.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27506#discussion_r2418321228
More information about the hotspot-dev
mailing list