RFR: 6506405: Math.abs(float) is slow [v2]
Andrew Haley
aph at openjdk.java.net
Thu Jul 8 10:50:54 UTC 2021
On Thu, 8 Jul 2021 09:43:35 GMT, Andrew Haley <aph at openjdk.org> wrote:
> Moves between GPRs and FPRs are often slow. There's a 10-cycle latency on some AArch64, so we avoid it whenever we can. Mind you, we don't care about this patch because we always generate FABS from an intrinsic anyway.
For avoidance of doubt, that's the round-trip latency.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4711
More information about the core-libs-dev
mailing list