RFR: 8369456: [TESTBUG] Fix the test failure of TestSelectFromTwoVectorOp.java on sve2 platforms

Xiaohong Gong xgong at openjdk.org
Fri Oct 24 08:12:01 UTC 2025


On Thu, 9 Oct 2025 10:45:47 GMT, erifan <duke at openjdk.org> wrote:

> According the AD file, partial cases where `vector_length_in_bytes > 8` of the vector API `selectFrom` are not supported on the AArch64 SVE2 platform. But the test `TestSelectFromTwoVectorOp.java` didn't rule out these cases, leading to test faiulres on sve2 plaftforms where `MaxVectorSize > 16`.
> 
> This test problem was discovered by simulating a 512-bit sve2 environment using qemu.
> 
> This PR fixes these test failures.

LGTM! Thanks for your fix!

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

Marked as reviewed by xgong (Committer).

PR Review: https://git.openjdk.org/jdk/pull/27723#pullrequestreview-3375022126


More information about the hotspot-compiler-dev mailing list