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

Manuel Hässig mhaessig at openjdk.org
Wed Sep 24 12:18:34 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

Testing passed.

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

Marked as reviewed by mhaessig (Committer).

PR Review: https://git.openjdk.org/jdk/pull/27414#pullrequestreview-3262608568


More information about the hotspot-compiler-dev mailing list