@@ -2285,7 +2285,7 @@ int HandlerImpl::emit_deopt_handler(CodeBuffer& cbuf)
22852285
22862286//=============================================================================
22872287
2288- const bool Matcher::match_rule_supported(int opcode) {
2288+ bool Matcher::match_rule_supported(int opcode) {
22892289 if (!has_match_rule(opcode))
22902290 return false;
22912291
@@ -2320,7 +2320,7 @@ const TypeVectMask* Matcher::predicate_reg_type(const Type* elemTy, int length)
23202320}
23212321
23222322// Vector calling convention not yet implemented.
2323- const bool Matcher::supports_vector_calling_convention(void) {
2323+ bool Matcher::supports_vector_calling_convention(void) {
23242324 return false;
23252325}
23262326
@@ -2340,7 +2340,7 @@ bool Matcher::is_short_branch_offset(int rule, int br_size, int offset) {
23402340}
23412341
23422342// Vector width in bytes.
2343- const int Matcher::vector_width_in_bytes(BasicType bt) {
2343+ int Matcher::vector_width_in_bytes(BasicType bt) {
23442344 // The MaxVectorSize should have been set by detecting SVE max vector register size.
23452345 int size = MIN2((UseSVE > 0) ? 256 : 16, (int)MaxVectorSize);
23462346 // Minimum 2 values in vector
@@ -2351,11 +2351,11 @@ const int Matcher::vector_width_in_bytes(BasicType bt) {
23512351}
23522352
23532353// Limits on vector size (number of elements) loaded into vector.
2354- const int Matcher::max_vector_size(const BasicType bt) {
2354+ int Matcher::max_vector_size(const BasicType bt) {
23552355 return vector_width_in_bytes(bt)/type2aelembytes(bt);
23562356}
23572357
2358- const int Matcher::min_vector_size(const BasicType bt) {
2358+ int Matcher::min_vector_size(const BasicType bt) {
23592359 int max_size = max_vector_size(bt);
23602360 // Limit the min vector size to 8 bytes.
23612361 int size = 8 / type2aelembytes(bt);
@@ -2370,17 +2370,17 @@ const int Matcher::min_vector_size(const BasicType bt) {
23702370 return MIN2(size, max_size);
23712371}
23722372
2373- const int Matcher::superword_max_vector_size(const BasicType bt) {
2373+ int Matcher::superword_max_vector_size(const BasicType bt) {
23742374 return Matcher::max_vector_size(bt);
23752375}
23762376
23772377// Actual max scalable vector register length.
2378- const int Matcher::scalable_vector_reg_size(const BasicType bt) {
2378+ int Matcher::scalable_vector_reg_size(const BasicType bt) {
23792379 return Matcher::max_vector_size(bt);
23802380}
23812381
23822382// Vector ideal reg.
2383- const uint Matcher::vector_ideal_reg(int len) {
2383+ uint Matcher::vector_ideal_reg(int len) {
23842384 if (UseSVE > 0 && 16 < len && len <= 256) {
23852385 return Op_VecA;
23862386 }
0 commit comments