1 /*
2 * Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
78 define_pd_global(intx, StackShadowPages, DEFAULT_STACK_SHADOW_PAGES);
79 define_pd_global(intx, StackReservedPages, DEFAULT_STACK_RESERVED_PAGES);
80
81 define_pd_global(bool, RewriteBytecodes, true);
82 define_pd_global(bool, RewriteFrequentPairs, true);
83
84 define_pd_global(uintx, TypeProfileLevel, 111);
85
86 define_pd_global(bool, CompactStrings, true);
87
88 define_pd_global(bool, PreserveFramePointer, false);
89
90 define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong);
91
92 #define ARCH_FLAGS(develop, \
93 product, \
94 diagnostic, \
95 experimental, \
96 notproduct, \
97 range, \
98 constraint, \
99 writeable) \
100 \
101 develop(bool, IEEEPrecision, true, \
102 "Enables IEEE precision (for INTEL only)") \
103 \
104 product(bool, UseStoreImmI16, true, \
105 "Use store immediate 16-bits value instruction on x86") \
106 \
107 product(intx, UseAVX, 3, \
108 "Highest supported AVX instructions set on x86/x64") \
109 range(0, 99) \
110 \
111 product(bool, UseCLMUL, false, \
112 "Control whether CLMUL instructions can be used on x86/x64") \
113 \
114 diagnostic(bool, UseIncDec, true, \
115 "Use INC, DEC instructions on x86") \
116 \
117 product(bool, UseNewLongLShift, false, \
118 "Use optimized bitwise shift left") \
119 \
|
1 /*
2 * Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
78 define_pd_global(intx, StackShadowPages, DEFAULT_STACK_SHADOW_PAGES);
79 define_pd_global(intx, StackReservedPages, DEFAULT_STACK_RESERVED_PAGES);
80
81 define_pd_global(bool, RewriteBytecodes, true);
82 define_pd_global(bool, RewriteFrequentPairs, true);
83
84 define_pd_global(uintx, TypeProfileLevel, 111);
85
86 define_pd_global(bool, CompactStrings, true);
87
88 define_pd_global(bool, PreserveFramePointer, false);
89
90 define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong);
91
92 #define ARCH_FLAGS(develop, \
93 product, \
94 diagnostic, \
95 experimental, \
96 notproduct, \
97 range, \
98 constraint) \
99 \
100 develop(bool, IEEEPrecision, true, \
101 "Enables IEEE precision (for INTEL only)") \
102 \
103 product(bool, UseStoreImmI16, true, \
104 "Use store immediate 16-bits value instruction on x86") \
105 \
106 product(intx, UseAVX, 3, \
107 "Highest supported AVX instructions set on x86/x64") \
108 range(0, 99) \
109 \
110 product(bool, UseCLMUL, false, \
111 "Control whether CLMUL instructions can be used on x86/x64") \
112 \
113 diagnostic(bool, UseIncDec, true, \
114 "Use INC, DEC instructions on x86") \
115 \
116 product(bool, UseNewLongLShift, false, \
117 "Use optimized bitwise shift left") \
118 \
|