comparison src/share/vm/opto/library_call.cpp @ 1504:ae8f909e5fc7

6948602: Disable use of SSE4.2 in String.indexOf intrinsic until 6942326 is fixed Summary: Disable the use of pcmpestri until it can be guaranteed that the load doesn't cross in to the uncommited space. See 6942326. Reviewed-by: never, kvn
author iveresov
date Thu, 29 Apr 2010 17:53:58 -0700
parents d7f654633cfe
children df736661d0c8
comparison
equal deleted inserted replaced
1503:c640000b7cc1 1504:ae8f909e5fc7
1173 _sp += 2; 1173 _sp += 2;
1174 Node *argument = pop(); // pop non-receiver first: it was pushed second 1174 Node *argument = pop(); // pop non-receiver first: it was pushed second
1175 Node *receiver = pop(); 1175 Node *receiver = pop();
1176 1176
1177 Node* result; 1177 Node* result;
1178 if (Matcher::has_match_rule(Op_StrIndexOf) && 1178 // Disable the use of pcmpestri until it can be guaranteed that
1179 // the load doesn't cross into the uncommited space.
1180 if (false && Matcher::has_match_rule(Op_StrIndexOf) &&
1179 UseSSE42Intrinsics) { 1181 UseSSE42Intrinsics) {
1180 // Generate SSE4.2 version of indexOf 1182 // Generate SSE4.2 version of indexOf
1181 // We currently only have match rules that use SSE4.2 1183 // We currently only have match rules that use SSE4.2
1182 1184
1183 // Null check on self without removing any arguments. The argument 1185 // Null check on self without removing any arguments. The argument