Skip to content

Commit 1dc1d56

Browse files
Vladimir IvanovSandhya Viswanathan
authored andcommitted
8363858: [perf] OptimizeFill may use wide set of intrinsics
Reviewed-by: roland, sviswanathan
1 parent 8520fd3 commit 1dc1d56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/cpu/x86/vm_version_x86.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1665,7 +1665,7 @@ void VM_Version::get_processor_features() {
16651665

16661666
#ifdef COMPILER2
16671667
if (FLAG_IS_DEFAULT(OptimizeFill)) {
1668-
if (MaxVectorSize < 32 || !VM_Version::supports_avx512vlbw()) {
1668+
if (MaxVectorSize < 32 || (!EnableX86ECoreOpts && !VM_Version::supports_avx512vlbw())) {
16691669
OptimizeFill = false;
16701670
}
16711671
}

0 commit comments

Comments
 (0)