Blame SOURCES/jdk8160748-aarch64_ideal_reg.patch

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