RFR: 6506405: Math.abs(float) is slow [v4]
Brian Burkhalter
bpb at openjdk.java.net
Thu Jul 8 15:53:18 UTC 2021
> Please consider this change to make the `float` and `double` versions of `java.lang.Math.abs()` branch-free.
Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
6506405: Set MAG_BIT_MASKs to bit-wise complements of SIGN_BIT_MASKs
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/4711/files
- new: https://git.openjdk.java.net/jdk/pull/4711/files/174c8293..9c35e74a
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4711&range=03
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4711&range=02-03
Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/4711.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4711/head:pull/4711
PR: https://git.openjdk.java.net/jdk/pull/4711
More information about the core-libs-dev
mailing list