RFR: 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.
Thanks all for the review!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29035#issuecomment-3714580978
More information about the hotspot-compiler-dev
mailing list