changeset 56670:b381e5328461

8232106: [x86] C2: SIGILL due to usage of SSSE3 instructions on processors which don't support it Reviewed-by: kvn, thartmann
author mdoerr
date Wed, 16 Oct 2019 11:52:56 +0200
parents 55fe0d93bdd3
children 64597a6fd186
files src/hotspot/cpu/x86/x86.ad
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: