RFR: 8368206: RISC-V: compiler/vectorapi/VectorMaskCompareNotTest.java fails when running without RVV

Dingli Zhang dzhang at openjdk.org
Thu Sep 25 10:10:32 UTC 2025


On Mon, 22 Sep 2025 03:16:29 GMT, Dingli Zhang <dzhang at openjdk.org> wrote:

> Hi,
> Can you help to review this patch? Thanks!
> 
> We noticed that compiler/vectorapi/VectorMaskCompareNotTest.java fails when running on sg2042.
> On RISC-V without RVV, ofLargestShape(long.class) falls back to 64 bits (see getMaxVectorBitSize in VectorShape.java),
> leading to VectorShape.forBitSize(32) which is unsupported and throws IllegalArgumentException.
> 
> ### Test (fastdebug)
> - [x] Run compiler/vectorapi/VectorMaskCompareNotTest.java on sg2042

Thanks all for the review!

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

PR Comment: https://git.openjdk.org/jdk/pull/27414#issuecomment-3333219107


More information about the hotspot-compiler-dev mailing list