--- 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
}