OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file defines all of the flags. It is separated into different section, | 5 // This file defines all of the flags. It is separated into different section, |
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the | 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the |
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. | 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. |
8 // | 8 // |
9 // This include does not have a guard, because it is a template-style include, | 9 // This include does not have a guard, because it is a template-style include, |
10 // which can be included multiple times in different modes. It expects to have | 10 // which can be included multiple times in different modes. It expects to have |
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
564 DEFINE_BOOL(enable_avx, true, "enable use of AVX instructions if available") | 564 DEFINE_BOOL(enable_avx, true, "enable use of AVX instructions if available") |
565 DEFINE_BOOL(enable_fma3, true, "enable use of FMA3 instructions if available") | 565 DEFINE_BOOL(enable_fma3, true, "enable use of FMA3 instructions if available") |
566 DEFINE_BOOL(enable_bmi1, true, "enable use of BMI1 instructions if available") | 566 DEFINE_BOOL(enable_bmi1, true, "enable use of BMI1 instructions if available") |
567 DEFINE_BOOL(enable_bmi2, true, "enable use of BMI2 instructions if available") | 567 DEFINE_BOOL(enable_bmi2, true, "enable use of BMI2 instructions if available") |
568 DEFINE_BOOL(enable_lzcnt, true, "enable use of LZCNT instruction if available") | 568 DEFINE_BOOL(enable_lzcnt, true, "enable use of LZCNT instruction if available") |
569 DEFINE_BOOL(enable_popcnt, true, | 569 DEFINE_BOOL(enable_popcnt, true, |
570 "enable use of POPCNT instruction if available") | 570 "enable use of POPCNT instruction if available") |
571 DEFINE_STRING(arm_arch, ARM_ARCH_DEFAULT, | 571 DEFINE_STRING(arm_arch, ARM_ARCH_DEFAULT, |
572 "generate instructions for the selected ARM architecture if " | 572 "generate instructions for the selected ARM architecture if " |
573 "available: armv6, armv7, armv7+sudiv or armv8") | 573 "available: armv6, armv7, armv7+sudiv or armv8") |
574 DEFINE_BOOL(enable_movw_movt, false, | |
575 "prefer to load 32-bit constants using movw/movt instruction pairs " | |
576 "(ARM only)") | |
577 DEFINE_BOOL(enable_vldr_imm, false, | 574 DEFINE_BOOL(enable_vldr_imm, false, |
578 "enable use of constant pools for double immediate (ARM only)") | 575 "enable use of constant pools for double immediate (ARM only)") |
579 DEFINE_BOOL(force_long_branches, false, | 576 DEFINE_BOOL(force_long_branches, false, |
580 "force all emitted branches to be in long mode (MIPS/PPC only)") | 577 "force all emitted branches to be in long mode (MIPS/PPC only)") |
581 DEFINE_STRING(mcpu, "auto", "enable optimization for specific cpu") | 578 DEFINE_STRING(mcpu, "auto", "enable optimization for specific cpu") |
582 | 579 |
583 // Deprecated ARM flags (replaced by arm_arch). | 580 // Deprecated ARM flags (replaced by arm_arch). |
584 DEFINE_MAYBE_BOOL(enable_armv7, "deprecated (use --arm_arch instead)") | 581 DEFINE_MAYBE_BOOL(enable_armv7, "deprecated (use --arm_arch instead)") |
585 DEFINE_MAYBE_BOOL(enable_vfp3, "deprecated (use --arm_arch instead)") | 582 DEFINE_MAYBE_BOOL(enable_vfp3, "deprecated (use --arm_arch instead)") |
586 DEFINE_MAYBE_BOOL(enable_32dregs, "deprecated (use --arm_arch instead)") | 583 DEFINE_MAYBE_BOOL(enable_32dregs, "deprecated (use --arm_arch instead)") |
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1210 #undef DEFINE_ALIAS_FLOAT | 1207 #undef DEFINE_ALIAS_FLOAT |
1211 #undef DEFINE_ALIAS_ARGS | 1208 #undef DEFINE_ALIAS_ARGS |
1212 | 1209 |
1213 #undef FLAG_MODE_DECLARE | 1210 #undef FLAG_MODE_DECLARE |
1214 #undef FLAG_MODE_DEFINE | 1211 #undef FLAG_MODE_DEFINE |
1215 #undef FLAG_MODE_DEFINE_DEFAULTS | 1212 #undef FLAG_MODE_DEFINE_DEFAULTS |
1216 #undef FLAG_MODE_META | 1213 #undef FLAG_MODE_META |
1217 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1214 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1218 | 1215 |
1219 #undef COMMA | 1216 #undef COMMA |
OLD | NEW |