RFR: 8368206: RISC-V: compiler/vectorapi/VectorMaskCompareNotTest.java fails when running without RVV
Manuel Hässig
mhaessig at openjdk.org
Wed Sep 24 08:56:53 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
Thank you for fixing this, @DingliZhang. Your change looks good, but let me just kick off some testing on our side to ensure the test still runs on other platforms. I'll get back to you as soon as the results are in.
-------------
Changes requested by mhaessig (Committer).
PR Review: https://git.openjdk.org/jdk/pull/27414#pullrequestreview-3261867172
More information about the hotspot-compiler-dev
mailing list