RFR: 8282221: x86 intrinsics for divideUnsigned and remainderUnsigned methods in java.lang.Integer and java.lang.Long [v11]
Srinivas Vamsi Parasa
duke at openjdk.java.net
Fri Apr 8 00:59:36 UTC 2022
> Optimizes the divideUnsigned() and remainderUnsigned() methods in java.lang.Integer and java.lang.Long classes using x86 intrinsics. This change shows 3x improvement for Integer methods and upto 25% improvement for Long. This change also implements the DivMod optimization which fuses division and modulus operations if needed. The DivMod optimization shows 3x improvement for Integer and ~65% improvement for Long.
Srinivas Vamsi Parasa has updated the pull request incrementally with one additional commit since the last revision:
Idead Ideal for udiv, umod nodes and update jtreg tests to use corner cases
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/7572/files
- new: https://git.openjdk.java.net/jdk/pull/7572/files/9949047c..bfb6c02e
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7572&range=10
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7572&range=09-10
Stats: 701 lines in 7 files changed: 423 ins; 274 del; 4 mod
Patch: https://git.openjdk.java.net/jdk/pull/7572.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/7572/head:pull/7572
PR: https://git.openjdk.java.net/jdk/pull/7572
More information about the core-libs-dev
mailing list