[vectorIntrinsics+fp16] RFR: 8365967: C2 compiler support for HalffloatVector operations supported by auto-vectorization flow [v5]

Jatin Bhateja jbhateja at openjdk.org
Fri Nov 7 10:18:00 UTC 2025


On Sat, 25 Oct 2025 09:16:18 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> Hi All,
>> 
>> This patch extends VectorAPI inline expanders to infer Float16 vector IR based on the newly passed operType argument.
>> We intend to leverage the existing IR and backend implementation of auto-vectorized Float16 operations. 
>> Various HalffloatVector operators, namely ADD, SUB, MUL, DIV, MAX, MIN, and FMA, now emit FP16 ISA on x86 targets supporting AVX512-FP16 feature and AArch64 SVE targets.
>> 
>> Best Regards,
>> Jatin
>
> Jatin Bhateja has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Removing elemType from intrinsic interface, operType and carreirType are sufficient for inline expansion, fixed selectFromTwoVector fallback

Integrating this PR, the remaining work will be part of JDK-mainline PR pull/28002

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

PR Comment: https://git.openjdk.org/panama-vector/pull/231#issuecomment-3501660970


More information about the panama-dev mailing list