8275167: x86 intrinsic for unsignedMultiplyHigh

Reviewed-by: kvn, sviswanathan
This commit is contained in:
vamsi-parasa 2021-10-20 22:40:51 +00:00 committed by Sandhya Viswanathan
parent cea3f01046
commit af7c56b85b
11 changed files with 61 additions and 2 deletions

View file

@ -1390,6 +1390,7 @@ public final class Math {
* @see #multiplyHigh
* @since 18
*/
@IntrinsicCandidate
public static long unsignedMultiplyHigh(long x, long y) {
// Compute via multiplyHigh() to leverage the intrinsic
long result = Math.multiplyHigh(x, y);