RFR: 8369456: [TESTBUG] Fix the test failure of TestSelectFromTwoVectorOp.java on sve2 platforms
    Bhavana Kilambi 
    bkilambi at openjdk.org
       
    Mon Oct 20 10:35:03 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 doing this Eric. Overall, the patch looks reasonable. The test passes on the SVE/SVE2 hosts I have access to but did not test it on a >16B SVE2 simulator myself. If your QEMU runs validate that configuration, I’m happy to rely on those results.
-------------
Marked as reviewed by bkilambi (Author).
PR Review: https://git.openjdk.org/jdk/pull/27723#pullrequestreview-3355991975
    
    
More information about the hotspot-compiler-dev
mailing list