/* * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * You should have received a copy of the GNU General Public License version * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. * */ #include "precompiled.hpp" #include "runtime/flags/jvmFlagConstraintsCompiler.hpp" // -- Define all JVM flags that have been declared in cpu/x86/globals_x86.hpp // Add JVMFlag::ARCH to the JVMFlag::attr() for all flags defined in this file #ifdef FLAG_COMMON_ATTRS #undef FLAG_COMMON_ATTRS #endif #define FLAG_COMMON_ATTRS JVMFlag::ARCH #include "globals_x86.hpp" #include "runtime/flags/jvmFlag.inline.hpp" DEFN_DEVELOP_FLAG(IEEEPrecision); DEFN_PRODUCT_FLAG(UseStoreImmI16); DEFN_PRODUCT_FLAG(UseSSE); DEFN_PRODUCT_RANGE(UseSSE); DEFN_PRODUCT_FLAG(UseAVX); DEFN_PRODUCT_RANGE(UseAVX); DEFN_PRODUCT_FLAG(UseCLMUL); DEFN_PRODUCT_FLAG(UseIncDec); DEFN_PRODUCT_FLAG(UseNewLongLShift); DEFN_PRODUCT_FLAG(UseAddressNop); DEFN_PRODUCT_FLAG(UseXmmLoadAndClearUpper); DEFN_PRODUCT_FLAG(UseXmmRegToRegMoveAll); DEFN_PRODUCT_FLAG(UseXmmI2D); DEFN_PRODUCT_FLAG(UseXmmI2F); DEFN_PRODUCT_FLAG(UseUnalignedLoadStores); DEFN_PRODUCT_FLAG(UseXMMForObjInit); DEFN_PRODUCT_FLAG(UseFastStosb); DEFN_PRODUCT_FLAG(UseRTMLocking); DEFN_PRODUCT_FLAG(UseRTMForStackLocks); DEFN_PRODUCT_FLAG(UseRTMDeopt); DEFN_PRODUCT_FLAG(RTMRetryCount); DEFN_PRODUCT_RANGE(RTMRetryCount); DEFN_PRODUCT_FLAG(RTMSpinLoopCount); DEFN_PRODUCT_RANGE(RTMSpinLoopCount); DEFN_PRODUCT_FLAG(RTMAbortThreshold); DEFN_PRODUCT_RANGE(RTMAbortThreshold); DEFN_PRODUCT_FLAG(RTMLockingThreshold); DEFN_PRODUCT_RANGE(RTMLockingThreshold); DEFN_PRODUCT_FLAG(RTMAbortRatio); DEFN_PRODUCT_RANGE(RTMAbortRatio); DEFN_PRODUCT_FLAG(RTMTotalCountIncrRate); DEFN_PRODUCT_RANGE(RTMTotalCountIncrRate); DEFN_PRODUCT_CONSTRAINT(RTMTotalCountIncrRate); DEFN_PRODUCT_FLAG(RTMLockingCalculationDelay); DEFN_PRODUCT_FLAG(UseRTMXendForLockBusy); DEFN_PRODUCT_FLAG(UseCountLeadingZerosInstruction); DEFN_PRODUCT_FLAG(UseCountTrailingZerosInstruction); DEFN_PRODUCT_FLAG(UseSSE42Intrinsics); DEFN_PRODUCT_FLAG(UseBMI1Instructions); DEFN_PRODUCT_FLAG(UseBMI2Instructions); DEFN_PRODUCT_FLAG(UseLibmIntrinsic); DEFN_PRODUCT_FLAG(AVX3Threshold); DEFN_PRODUCT_RANGE(AVX3Threshold); DEFN_PRODUCT_FLAG(IntelJccErratumMitigation);