src/hotspot/cpu/x86/vm_version_x86.cpp
changeset 52992 4bb6e0871bf7
parent 52609 83b1d9797b20
child 54303 3022f7d70897
--- a/src/hotspot/cpu/x86/vm_version_x86.cpp	Wed Dec 12 15:35:20 2018 -0500
+++ b/src/hotspot/cpu/x86/vm_version_x86.cpp	Wed Dec 12 14:48:34 2018 -0800
@@ -1289,7 +1289,7 @@
       if (FLAG_IS_DEFAULT(UseXMMForArrayCopy)) {
         UseXMMForArrayCopy = true; // use SSE2 movq on new Intel cpus
       }
-      if (supports_sse4_2() && supports_ht()) { // Newest Intel cpus
+      if ((supports_sse4_2() && supports_ht()) || supports_avx()) { // Newest Intel cpus
         if (FLAG_IS_DEFAULT(UseUnalignedLoadStores)) {
           UseUnalignedLoadStores = true; // use movdqu on newest Intel cpus
         }