hotspot/src/cpu/x86/vm/globals_x86.hpp
changeset 45804 41b19cb98a96
parent 42906 1a8db9cf1407
child 45806 36707109c109
--- a/hotspot/src/cpu/x86/vm/globals_x86.hpp	Tue Jul 04 11:45:09 2017 -0700
+++ b/hotspot/src/cpu/x86/vm/globals_x86.hpp	Wed Jul 05 09:06:59 2017 +0200
@@ -116,9 +116,10 @@
   product(bool, UseStoreImmI16, true,                                       \
           "Use store immediate 16-bits value instruction on x86")           \
                                                                             \
-  product(intx, UseAVX, 99,                                                 \
+  product(intx, UseAVX, 2,                                                  \
           "Highest supported AVX instructions set on x86/x64")              \
           range(0, 99)                                                      \
+          constraint(UseAVXConstraintFunc, AtParse)                         \
                                                                             \
   product(bool, UseCLMUL, false,                                            \
           "Control whether CLMUL instructions can be used on x86/x64")      \