[lworld+fp16] Integrated: 8336406: Add support for FP16 binary operations

Bhavana Kilambi bkilambi at openjdk.org
Thu Aug 8 15:23:50 UTC 2024


On Tue, 23 Jul 2024 13:39:14 GMT, Bhavana Kilambi <bkilambi at openjdk.org> wrote:

> This patch adds middle end support in C2 for a few FP16 binary operations, namely - subtract, multiply, divide, min and max. It also adds aarch64 backend support for these operations.
> 
> Tested JTREG tests -
> hotspot/jtreg/compiler/vectorization/TestFloat16VectorOps.java, hotspot/jtreg/compiler/vectorization/TestFloat16VectorReinterpretConv.java, hotspot/jtreg/compiler/intrinsics/float16 and test/jdk/java/lang/Float16 and they successfully pass on aarch64 and x86 machines.

This pull request has now been integrated.

Changeset: ce32e8c9
Author:    Bhavana Kilambi <bkilambi at openjdk.org>
Committer: Jatin Bhateja <jbhateja at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/ce32e8c9bb2e99b20d088b88819feac9da6125f5
Stats:     1235 lines in 29 files changed: 956 ins; 175 del; 104 mod

8336406: Add support for FP16 binary operations

Reviewed-by: jbhateja

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

PR: https://git.openjdk.org/valhalla/pull/1175


More information about the valhalla-dev mailing list