RFR: 8369456: [TESTBUG] Fix the test failure of TestSelectFromTwoVectorOp.java on sve2 platforms [v2]
    Hao Sun 
    haosun at openjdk.org
       
    Wed Oct 29 09:56:52 UTC 2025
    
    
  
On Wed, 29 Oct 2025 06:24:46 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.
>
> 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 two additional commits since the last revision:
> 
>  - 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.
LGTM. This patch is reviewed and tested internally.
-------------
Marked as reviewed by haosun (Committer).
PR Review: https://git.openjdk.org/jdk/pull/27723#pullrequestreview-3392486550
    
    
More information about the hotspot-compiler-dev
mailing list