8232106: [x86] C2: SIGILL due to usage of SSSE3 instructions on processors which don't support it

Reviewed-by: kvn, thartmann
This commit is contained in:
Martin Doerr 2019-10-16 11:52:56 +02:00
parent 0046f1ea4f
commit 79c1634258

View File

@ -1280,7 +1280,7 @@ const bool Matcher::match_rule_supported(int opcode) {
case Op_AbsVS:
case Op_AbsVI:
case Op_AddReductionVI:
if (UseSSE < 3) // requires at least SSE3
if (UseSSE < 3 || !VM_Version::supports_ssse3()) // requires at least SSSE3
ret_value = false;
break;
case Op_MulReductionVI: