RFR: 8374525: RISC-V: Several masked float16 vector operations are not supported
Feilong Jiang
fjiang at openjdk.org
Mon Jan 5 12:46:10 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.
Nice catch!
-------------
Marked as reviewed by fjiang (Committer).
PR Review: https://git.openjdk.org/jdk/pull/29035#pullrequestreview-3626694940
More information about the hotspot-compiler-dev
mailing list