Integrated: 8374525: RISC-V: Several masked float16 vector operations are not supported

Dingli Zhang dzhang at openjdk.org
Tue Jan 6 12:52:24 UTC 2026


On Mon, 5 Jan 2026 12:32:13 GMT, Dingli Zhang <dzhang at openjdk.org> wrote:

> Hi,
> Can you help to review this patch? Thanks!
> 
> Currently, the masked versions of the following 8 Float16 operations are not supported.
> But we return true in `Matcher::match_rule_supported_vector_masked` for these operations
> on RISC-V platforms with Zvfh. We need to explicitly disable them on this CPU platform
> to make it clear.
> 
>  Op_AddVHF:
>  Op_SubVHF:
>  Op_MulVHF:
>  Op_DivVHF:
>  Op_MaxVHF:
>  Op_MinVHF:
>  Op_SqrtVHF:
>  Op_FmaVHF:
> 
> When the support for Float16 vector classes is added in VectorAPI and the masked
> Float16 IR can be generated, these masked operations will be enabled and relevant
> backend support added.

This pull request has now been integrated.

Changeset: df5b49e6
Author:    Dingli Zhang <dzhang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/df5b49e604d3204c6383484ba3807d39abd0b0f1
Stats:     19 lines in 1 file changed: 17 ins; 2 del; 0 mod

8374525: RISC-V: Several masked float16 vector operations are not supported

Reviewed-by: fjiang, fyang

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

PR: https://git.openjdk.org/jdk/pull/29035


More information about the hotspot-compiler-dev mailing list