8187684: Intrinsify Math.multiplyHigh(long, long)

Reviewed-by: kvn, aph, lucy
This commit is contained in:
Dmitrij Pochepko 2017-10-04 11:52:07 -07:00
parent f651176392
commit 949f677957
4 changed files with 13 additions and 0 deletions

View file

@ -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.,