< prev index next >

src/share/vm/runtime/commandLineFlagConstraintsCompiler.cpp

Print this page

        

*** 330,339 **** --- 330,350 ---- } else { return Flag::SUCCESS; } } + Flag::Error UseAVXConstraintFunc(intx value, bool verbose) { + if (value > 2 && !UnlockExperimentalVMOptions) { + CommandLineError::print(verbose, + "UseAVX (" UINTX_FORMAT ") is experimental and must be " + "enabled via -XX:+UnlockExperimentalVMOptions \n", value); + return Flag::VIOLATES_CONSTRAINT; + } else { + return Flag::SUCCESS; + } + } + #ifdef COMPILER2 Flag::Error InteriorEntryAlignmentConstraintFunc(intx value, bool verbose) { if (InteriorEntryAlignment > CodeEntryAlignment) { CommandLineError::print(verbose, "InteriorEntryAlignment (" INTX_FORMAT ") must be "
< prev index next >