RFR: 8282221: x86 intrinsics for divideUnsigned and remainderUnsigned methods in java.lang.Integer and java.lang.Long [v13]
David Holmes
dholmes at openjdk.java.net
Mon Apr 11 02:04:47 UTC 2022
On Fri, 8 Apr 2022 22:17:23 GMT, Srinivas Vamsi Parasa <duke at 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.
>
> Srinivas Vamsi Parasa has updated the pull request incrementally with one additional commit since the last revision:
>
> Fix the divmod crash due to lack of control node
This change appears to be causing crashes in tier4 - possibly Xcomp related:
# assert(ctrl == kit.control()) failed: Control flow was added although the intrinsic bailed out
I will file a new bug.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7572
More information about the core-libs-dev
mailing list