RFR: 8355585: Aarch64: Add aarch64 backend for Float16 vector operations
Bhavana Kilambi
bkilambi at openjdk.org
Mon May 12 10:13:55 UTC 2025
On Mon, 12 May 2025 08:56:42 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:
>> Not at the moment. Thanks for pointing this out. I think for this PR, I will remove the predicated instructions support and for now only keep support for non-masked ones. I will add this support when there will be more focus on the masked versions once VectorAPI with Float16Vector is integrated with mainline. Hope this is ok.
>
> Sounds good to me. But I'm worried it may crash with bad ad file on AArch64 if the Vector API java and compiler IR part is ready for HF types, while the AArch64 relative masked rules are missing. Beacause the masked vector IR have been generated, while the codegen is missing on AArch64. We have to add the HF ops to `match_rule_supported_vector_masked` first, and then remove them when adding the masked version rules. WDYT?
It's a good idea to disable masked ops in the backend. That should help not generate the masked IR in the inline expanders. I'll update this PR soon. Thanks for your comments.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25096#discussion_r2084333542
More information about the hotspot-compiler-dev
mailing list