RFR: 6506405: Math.abs(float) is slow

Florian Weimer fweimer at openjdk.java.net
Thu Jul 8 07:26:51 UTC 2021


On Thu, 8 Jul 2021 00:45:48 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> However, the bitwise conversion should now be fast everywhere.

Doesn't it require moves between general-purpose and floating-point registers? Those have to go through memory for some targets (including old x86, where the ISA supports it, but implementations were slow).

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

PR: https://git.openjdk.java.net/jdk/pull/4711


More information about the core-libs-dev mailing list