RFR: 8368722: RISC-V: Several vector load/store tests fail on riscv without support for misaligned vector access
Dingli Zhang
dzhang at openjdk.org
Mon Sep 29 01:43:22 UTC 2025
On Fri, 26 Sep 2025 14:36:30 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:
> It's not a test bug, but a product one. The Vector API deliberately doesn't require vector accesses to be naturally aligned. If a platform doesn't support misaligned vector accesses it has to either properly emulate them or fail to intrinsify corresponding vector intrinsics.
@iwanowww Thanks for the comment. I see the requirement of vector api now. I am wondering if there is a simple way to disable the corresponding vector intrinsics on such a platform without affecting the superword optimization (the auto-vectorizer). Will turning off the `EnableVectorSupport` VM option do? Do you have any suggestions?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27506#issuecomment-3344563706
More information about the hotspot-dev
mailing list