RFR: 8345125: Aarch64: Add aarch64 backend for Float16 scalar operations

Andrew Haley aph at openjdk.org
Tue Feb 25 13:40:57 UTC 2025


On Mon, 24 Feb 2025 12:09:57 GMT, Bhavana Kilambi <bkilambi at openjdk.org> wrote:

> This patch adds aarch64 backend for scalar FP16 operations namely - add, subtract, multiply, divide, fma, sqrt, min and max.

test/hotspot/gtest/aarch64/aarch64-asmtest.py line 19:

> 17:         0x7e0, 0xfc0, 0x1f80, 0x3ff0, 0x7e00, 0x8000,
> 18:         0x81ff, 0xc1ff, 0xc003, 0xc7ff, 0xdfff, 0xe03f,
> 19:         0xe1ff, 0xf801, 0xfc00, 0xfc07, 0xff03, 0xfffe]

So here you've deleted the duplicated `0x7e00` (good) but also the not-duplicated `0xe10f`. Is `0xe10f` not valid?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23748#discussion_r1969800950


More information about the hotspot-dev mailing list