RFR: 8355585: Aarch64: Add aarch64 backend for Float16 vector operations [v4]

Andrew Haley aph at openjdk.org
Tue May 20 16:51:54 UTC 2025


On Tue, 20 May 2025 13:17:26 GMT, Bhavana Kilambi <bkilambi at openjdk.org> wrote:

>> This patch adds aarch64 backend (both Neon and SVE) for FP16 vector operations - add, mul, sub, div, min, max, sqrt and fma.
>> 
>> Testing:
>> JTREG tests - hotspot_all, jdk (tier 1-3) and langtools (tier 1) pass on aarch64 which also includes the JTREG test to test the FP16 vector operations - `test/hotspot/jtreg/compiler/vectorization/TestFloat16VectorOperations.java`
>
> Bhavana Kilambi has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains four commits:
> 
>  - Merge master
>  - Remove additional spaces in the aarch64_vector_ad.m4 file
>  - Address review comments
>  - 8355585: Aarch64: Add aarch64 backend for Float16 vector operations
>    
>    This patch adds aarch64 backend (both Neon and SVE) for FP16 vector
>    operations - add, mul, sub, div, min, max, sqrt and fma.
>    
>    Testing:
>    All JTREG tests - hotspot_all, jdk (tier 1-3) and langtools (tier 1)
>    pass on aarch64 which also includes the JTREG test to test the FP16
>    vector operations - test/hotspot/jtreg/compiler/vectorization/TestFloat16VectorOperations.java

Looks good. I'm assuming you've tested both SVE and Neon.

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

Marked as reviewed by aph (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25096#pullrequestreview-2854939316


More information about the hotspot-compiler-dev mailing list