RFR: 8368722: Vector API intrinsics enabled wrongly on platforms without support for misaligned vector access [v3]
Hamlin Li
mli at openjdk.org
Fri Oct 10 09:26:21 UTC 2025
On Fri, 10 Oct 2025 02:47:09 GMT, Fei Yang <fyang at openjdk.org> wrote:
> Mind you that the following tests explicitly are testing `-XX:-AlignVector` and won't work on hardware platforms without misaligned vector. But it doesn't seem to me reasonable to add a requirement like `@requires vm.opt.EnableVectorSupport == true` for them as they are superword tests. These tests were once enabled for RISC-V by: https://bugs.openjdk.org/browse/JDK-8352529. Maybe we should simply keep them disabled for this platform?
Simply distable them on riscv seems not a good idea.
Maybe add `@requires (os.arch != "riscv64" | !vm.opt.AlignVector))`?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27506#issuecomment-3389044810
More information about the hotspot-dev
mailing list