--- old/src/hotspot/cpu/x86/vm_version_x86.cpp 2018-06-21 22:32:00.211281900 -0700 +++ new/src/hotspot/cpu/x86/vm_version_x86.cpp 2018-06-21 22:31:59.634224200 -0700 @@ -855,6 +855,17 @@ FLAG_SET_DEFAULT(UseGHASHIntrinsics, false); } + // Base64 Intrinsics (Check the condition for which the intrinsic will be active) + if ((UseAVX > 2) && supports_avx512vl() && supports_avx512bw()) { + if (FLAG_IS_DEFAULT(UseBASE64Intrinsics)) { + UseBASE64Intrinsics = true; + } + } else if (UseBASE64Intrinsics) { + if (!FLAG_IS_DEFAULT(UseBASE64Intrinsics)) + warning("Base64 intrinsic requires EVEX instructions on this CPU"); + FLAG_SET_DEFAULT(UseBASE64Intrinsics, false); + } + if (supports_fma() && UseSSE >= 2) { // Check UseSSE since FMA code uses SSE instructions if (FLAG_IS_DEFAULT(UseFMA)) { UseFMA = true;