RFR: 8345125: Aarch64: Add aarch64 backend for Float16 scalar operations
Andrew Haley
aph at openjdk.org
Mon Feb 24 17:09:54 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.
src/hotspot/cpu/aarch64/aarch64.ad line 17275:
> 17273:
> 17274: // This pattern would result in the following instructions (the first two are for ConvF2HF
> 17275: // and the last instruction is for ReinterpretS2HF) -
Suggestion:
// Without this pattern, (ReinterpretS2HF (ConvF2HF src)) would result in the following instructions (the first two for ConvF2HF
// and the last instruction for ReinterpretS2HF) -
Reads a little better, I think?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23748#discussion_r1968070079
More information about the hotspot-dev
mailing list