On Tue, 22 Feb 2022 09:24:47 GMT, Srinivas Vamsi Parasa <d...@openjdk.java.net> wrote:
> 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. This pull request has now been integrated. Changeset: 37e28aea Author: vamsi-parasa <srinivas.vamsi.par...@intel.com> Committer: Jatin Bhateja <jbhat...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/37e28aea27c8d8336ddecde777e63b51a939d281 Stats: 1156 lines in 20 files changed: 1154 ins; 1 del; 1 mod 8282221: x86 intrinsics for divideUnsigned and remainderUnsigned methods in java.lang.Integer and java.lang.Long Reviewed-by: sviswanathan, kvn, jbhateja ------------- PR: https://git.openjdk.java.net/jdk/pull/7572