mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8187684: Intrinsify Math.multiplyHigh(long, long)
Reviewed-by: kvn, aph, lucy
This commit is contained in:
parent
f651176392
commit
949f677957
4 changed files with 13 additions and 0 deletions
|
@ -1094,6 +1094,7 @@ public final class Math {
|
|||
* @return the result
|
||||
* @since 9
|
||||
*/
|
||||
@HotSpotIntrinsicCandidate
|
||||
public static long multiplyHigh(long x, long y) {
|
||||
if (x < 0 || y < 0) {
|
||||
// Use technique from section 8-2 of Henry S. Warren, Jr.,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue