8232106: [x86] C2: SIGILL due to usage of SSSE3 instructions on processors which don't support it
authormdoerr
Wed, 16 Oct 2019 11:52:56 +0200
changeset 58643 b381e5328461
parent 58641 55fe0d93bdd3
child 58644 64597a6fd186
8232106: [x86] C2: SIGILL due to usage of SSSE3 instructions on processors which don't support it Reviewed-by: kvn, thartmann
src/hotspot/cpu/x86/x86.ad
--- a/src/hotspot/cpu/x86/x86.ad	Tue Oct 15 22:22:23 2019 -0400
+++ b/src/hotspot/cpu/x86/x86.ad	Wed Oct 16 11:52:56 2019 +0200
@@ -1280,7 +1280,7 @@
     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: