On Wed, 13 Oct 2021 18:55:10 GMT, Vamsi Parasa <d...@openjdk.java.net> wrote:
> Optimize the new Math.unsignedMultiplyHigh using the x86 mul instruction. > This change show 1.87X improvement on a micro benchmark. src/hotspot/share/opto/mulnode.cpp line 468: > 466: } > 467: > 468: > //============================================================================= MulHiLNode::Value() and UMulHiLNode::Value() seem to be identical. Perhaps some refactoring would be in order, maybe make a common shared routine. ------------- PR: https://git.openjdk.java.net/jdk/pull/5933