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

Bhavana Kilambi bkilambi at openjdk.org
Thu Aug 8 09:47:24 UTC 2024


> 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.

Bhavana Kilambi has updated the pull request incrementally with one additional commit since the last revision:

  Address review comments

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/1175/files
  - new: https://git.openjdk.org/valhalla/pull/1175/files/914dfc24..b58c7376

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=valhalla&pr=1175&range=02
 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=1175&range=01-02

  Stats: 3 lines in 2 files changed: 1 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/valhalla/pull/1175.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1175/head:pull/1175

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


More information about the valhalla-dev mailing list