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.

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

Commit messages:
 - fix trailing white space errors
 - fix whitespaces
 - revert comment to original for divmodI
 - Update rax and rdx register usage in x86_64.ad
 - 8282221: x86 intrinsics for divideUnsigned and remainderUnsigned methods in 
java.lang.Integer and java.lang.Long

Changes: https://git.openjdk.java.net/jdk/pull/7572/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7572&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8282221
  Stats: 741 lines in 16 files changed: 738 ins; 1 del; 2 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

Reply via email to