mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8275167: x86 intrinsic for unsignedMultiplyHigh
Reviewed-by: kvn, sviswanathan
This commit is contained in:
parent
cea3f01046
commit
af7c56b85b
11 changed files with 61 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue