RFR: 8282221: x86 intrinsics for divideUnsigned and remainderUnsigned methods in java.lang.Integer and java.lang.Long [v8]
Sandhya Viswanathan
sviswanathan at openjdk.java.net
Tue Apr 5 23:16:46 UTC 2022
On Tue, 5 Apr 2022 20:26:18 GMT, 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.
>
> Vamsi Parasa has updated the pull request incrementally with one additional commit since the last revision:
>
> add error msg for jtreg test
Marked as reviewed by sviswanathan (Reviewer).
Looks good to me. You need one more review.
@vnkozlov Could you please help review this patch?
-------------
PR: https://git.openjdk.java.net/jdk/pull/7572
More information about the core-libs-dev
mailing list