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

erifan duke at openjdk.org
Tue Nov 4 05:41:22 UTC 2025


> 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.

erifan 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 branch 'master' into JDK-8369456-select-from-two-vectors-failure
 - Merge branch 'master' into JDK-8369456-select-from-two-vectors-failure
 - 8369456: [TESTBUG] Fix the test failure of TestSelectFromTwoVectorOp.java on sve2 platforms
   
   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.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27723/files
  - new: https://git.openjdk.org/jdk/pull/27723/files/b1025a01..146ce68f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27723&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27723&range=01-02

  Stats: 52100 lines in 518 files changed: 27750 ins; 20629 del; 3721 mod
  Patch: https://git.openjdk.org/jdk/pull/27723.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27723/head:pull/27723

PR: https://git.openjdk.org/jdk/pull/27723


More information about the hotspot-compiler-dev mailing list