src/cpu/sparc/vm/sparc.ad

changeset 9333
2fccf735a116
parent 8797
37ba410ffd43
child 9448
73d689add964
equal deleted inserted replaced
9332:ae93017b2930 9333:2fccf735a116
1 // 1 //
2 // Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. 2 // Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
3 // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 // 4 //
5 // This code is free software; you can redistribute it and/or modify it 5 // This code is free software; you can redistribute it and/or modify it
6 // under the terms of the GNU General Public License version 2 only, as 6 // under the terms of the GNU General Public License version 2 only, as
7 // published by the Free Software Foundation. 7 // published by the Free Software Foundation.
1875 assert(MaxVectorSize == 8, ""); 1875 assert(MaxVectorSize == 8, "");
1876 return 8; 1876 return 8;
1877 } 1877 }
1878 1878
1879 // Vector ideal reg 1879 // Vector ideal reg
1880 const int Matcher::vector_ideal_reg(int size) { 1880 const uint Matcher::vector_ideal_reg(int size) {
1881 assert(MaxVectorSize == 8, ""); 1881 assert(MaxVectorSize == 8, "");
1882 return Op_RegD; 1882 return Op_RegD;
1883 } 1883 }
1884 1884
1885 const int Matcher::vector_shift_count_ideal_reg(int size) { 1885 const uint Matcher::vector_shift_count_ideal_reg(int size) {
1886 fatal("vector shift is not supported"); 1886 fatal("vector shift is not supported");
1887 return Node::NotAMachineReg; 1887 return Node::NotAMachineReg;
1888 } 1888 }
1889 1889
1890 // Limits on vector size (number of elements) loaded into vector. 1890 // Limits on vector size (number of elements) loaded into vector.

mercurial