RFR: 8355585: Aarch64: Add aarch64 backend for Float16 vector operations
Xiaohong Gong
xgong at openjdk.org
Mon May 12 06:48:53 UTC 2025
On Wed, 7 May 2025 14:14:14 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`
src/hotspot/cpu/aarch64/aarch64_vector.ad line 698:
> 696: instruct vaddHF_masked(vReg dst_src1, vReg src2, pRegGov pg) %{
> 697: predicate(UseSVE > 0);
> 698: match(Set dst_src1 (AddVHF (Binary dst_src1 src2) pg));
Do we have such a case in existing jtreg now?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25096#discussion_r2083932385
More information about the hotspot-compiler-dev
mailing list