< prev index next >

src/hotspot/cpu/aarch64/vm_version_aarch64.cpp

Print this page
rev 60476 : manual merge with default

*** 451,460 **** --- 451,473 ---- } if (FLAG_IS_DEFAULT(UseMontgomerySquareIntrinsic)) { UseMontgomerySquareIntrinsic = true; } + int min_vector_size = 8; + + if (!FLAG_IS_DEFAULT(MaxVectorSize)) { + if (MaxVectorSize < min_vector_size) { + warning("MaxVectorSize must be at least %i on this platform", min_vector_size); + FLAG_SET_DEFAULT(MaxVectorSize, min_vector_size); + } + } else { + if (UseSVE > 0) { + MaxVectorSize = 256; + } + } + if (FLAG_IS_DEFAULT(OptoScheduling)) { OptoScheduling = true; } if (FLAG_IS_DEFAULT(AlignVector)) {
< prev index next >