Blame SOURCES/jdk8160748-aarch64_ideal_reg.patch

9fd28f
# HG changeset patch
9fd28f
# User kbarrett
9fd28f
# Date 1547614745 0
9fd28f
#      Wed Jan 16 04:59:05 2019 +0000
9fd28f
# Node ID bca8195a3bc70df281a73d9a40032c673971676c
9fd28f
# Parent  09abae195e9a7e134a1cfd9b375a6f4d95091de7
9fd28f
8160748: [AArch64] Inconsistent types for ideal_reg
9fd28f
Summary: Made ideal_reg consistently uint.
9fd28f
Reviewed-by: kvn, iveresov
9fd28f
9fd28f
diff --git openjdk.orig/hotspot/src/cpu/aarch64/vm/aarch64.ad openjdk/hotspot/src/cpu/aarch64/vm/aarch64.ad
9fd28f
--- openjdk.orig/hotspot/src/cpu/aarch64/vm/aarch64.ad
9fd28f
+++ openjdk/hotspot/src/cpu/aarch64/vm/aarch64.ad
9fd28f
@@ -1,6 +1,6 @@
9fd28f
 //
9fd28f
+// Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
9fd28f
 // Copyright (c) 2013, Red Hat Inc.
9fd28f
-// Copyright (c) 2003, 2012, Oracle and/or its affiliates.
9fd28f
 // All rights reserved.
9fd28f
 // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
9fd28f
 //
9fd28f
@@ -3449,7 +3449,7 @@
9fd28f
 }
9fd28f
 
9fd28f
 // Vector ideal reg.
9fd28f
-const int Matcher::vector_ideal_reg(int len) {
9fd28f
+const uint Matcher::vector_ideal_reg(int len) {
9fd28f
   switch(len) {
9fd28f
     case  8: return Op_VecD;
9fd28f
     case 16: return Op_VecX;
9fd28f
@@ -3458,7 +3458,7 @@
9fd28f
   return 0;
9fd28f
 }
9fd28f
 
9fd28f
-const int Matcher::vector_shift_count_ideal_reg(int size) {
9fd28f
+const uint Matcher::vector_shift_count_ideal_reg(int size) {
9fd28f
   return Op_VecX;
9fd28f
 }
9fd28f