RFR: 8275167: x86 intrinsic for unsignedMultiplyHigh

Vladimir Kozlov kvn at openjdk.java.net
Fri Oct 15 18:48:48 UTC 2021


On Wed, 13 Oct 2021 18:55:10 GMT, Vamsi Parasa <duke at openjdk.java.net> wrote:

> Optimize the new Math.unsignedMultiplyHigh using the x86 mul instruction. This change show 1.87X improvement on a micro benchmark.

How you verified correctness of results?
I suggest to extend `test/jdk//java/lang/Math/MultiplicationTests.java` test to cover unsigned method.

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

Changes requested by kvn (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/5933


More information about the hotspot-compiler-dev mailing list