#8067 MIPS port of 8160748: Inconsistent types for ideal_reg

Thu, 27 Dec 2018 12:24:53 +0800

author
aoqi
date
Thu, 27 Dec 2018 12:24:53 +0800
changeset 9450
5df11fc40ae4
parent 9449
c83298703d31
child 9451
24bab1ef457b

#8067 MIPS port of 8160748: Inconsistent types for ideal_reg

src/cpu/mips/vm/mips_64.ad file | annotate | diff | comparison | revisions
     1.1 --- a/src/cpu/mips/vm/mips_64.ad	Thu Dec 27 11:59:22 2018 +0800
     1.2 +++ b/src/cpu/mips/vm/mips_64.ad	Thu Dec 27 12:24:53 2018 +0800
     1.3 @@ -704,7 +704,7 @@
     1.4  }
     1.5  
     1.6  // Vector ideal reg
     1.7 -const int Matcher::vector_ideal_reg(int size) {
     1.8 +const uint Matcher::vector_ideal_reg(int size) {
     1.9    assert(MaxVectorSize == 8, "");
    1.10    switch(size) {
    1.11      case  8: return Op_VecD;
    1.12 @@ -714,7 +714,7 @@
    1.13  }
    1.14  
    1.15  // Only lowest bits of xmm reg are used for vector shift count.
    1.16 -const int Matcher::vector_shift_count_ideal_reg(int size) {
    1.17 +const uint Matcher::vector_shift_count_ideal_reg(int size) {
    1.18    fatal("vector shift is not supported");
    1.19    return Node::NotAMachineReg;
    1.20  }

mercurial