8182114: assert(VM_Version::supports_sse()) failed
authorkvn
Fri, 16 Jun 2017 12:06:31 -0700
changeset 46546 4dba7f5446f3
parent 46545 b970b6e40209
child 46547 e1b926a0b23f
8182114: assert(VM_Version::supports_sse()) failed Summary: restore UseSSE check for FMA Reviewed-by: dcubed
hotspot/src/cpu/x86/vm/vm_version_x86.cpp
--- a/hotspot/src/cpu/x86/vm/vm_version_x86.cpp	Fri Jun 16 09:13:56 2017 -0400
+++ b/hotspot/src/cpu/x86/vm/vm_version_x86.cpp	Fri Jun 16 12:06:31 2017 -0700
@@ -812,7 +812,7 @@
     FLAG_SET_DEFAULT(UseGHASHIntrinsics, false);
   }
 
-  if (supports_fma()) {
+  if (supports_fma() && UseSSE >= 2) { // Check UseSSE since FMA code uses SSE instructions
     if (FLAG_IS_DEFAULT(UseFMA)) {
       UseFMA = true;
     }