comparison src/cpu/sparc/vm/sparc.ad @ 6823:859c45fb8cea

7201026: add vector for shift count Summary: Add generation of vectors for scalar shift count. Reviewed-by: roland, twisti, dlong
author kvn
date Tue, 02 Oct 2012 12:25:13 -0700
parents 7eca5de9e0b6
children 8e47bac5643a
comparison
equal deleted inserted replaced
6822:f6b0eb4e44cf 6823:859c45fb8cea
1866 1866
1867 // Vector ideal reg 1867 // Vector ideal reg
1868 const int Matcher::vector_ideal_reg(int size) { 1868 const int Matcher::vector_ideal_reg(int size) {
1869 assert(MaxVectorSize == 8, ""); 1869 assert(MaxVectorSize == 8, "");
1870 return Op_RegD; 1870 return Op_RegD;
1871 }
1872
1873 const int Matcher::vector_shift_count_ideal_reg(int size) {
1874 fatal("vector shift is not supported");
1875 return Node::NotAMachineReg;
1871 } 1876 }
1872 1877
1873 // Limits on vector size (number of elements) loaded into vector. 1878 // Limits on vector size (number of elements) loaded into vector.
1874 const int Matcher::max_vector_size(const BasicType bt) { 1879 const int Matcher::max_vector_size(const BasicType bt) {
1875 assert(is_java_primitive(bt), "only primitive type vectors"); 1880 assert(is_java_primitive(bt), "only primitive type vectors");