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 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 DEFINE_BOOL(enable_unaligned_accesses, true, | 512 DEFINE_BOOL(enable_unaligned_accesses, true, |
513 "enable unaligned accesses for ARMv7 (ARM only)") | 513 "enable unaligned accesses for ARMv7 (ARM only)") |
514 DEFINE_BOOL(enable_32dregs, ENABLE_32DREGS_DEFAULT, | 514 DEFINE_BOOL(enable_32dregs, ENABLE_32DREGS_DEFAULT, |
515 "enable use of d16-d31 registers on ARM - this requires VFP3") | 515 "enable use of d16-d31 registers on ARM - this requires VFP3") |
516 DEFINE_BOOL(enable_vldr_imm, false, | 516 DEFINE_BOOL(enable_vldr_imm, false, |
517 "enable use of constant pools for double immediate (ARM only)") | 517 "enable use of constant pools for double immediate (ARM only)") |
518 DEFINE_BOOL(force_long_branches, false, | 518 DEFINE_BOOL(force_long_branches, false, |
519 "force all emitted branches to be in long mode (MIPS/PPC only)") | 519 "force all emitted branches to be in long mode (MIPS/PPC only)") |
520 DEFINE_STRING(mcpu, "auto", "enable optimization for specific cpu") | 520 DEFINE_STRING(mcpu, "auto", "enable optimization for specific cpu") |
521 | 521 |
| 522 DEFINE_IMPLICATION(enable_armv8, enable_vfp3) |
| 523 DEFINE_IMPLICATION(enable_armv8, enable_neon) |
| 524 DEFINE_IMPLICATION(enable_armv8, enable_32dregs) |
| 525 DEFINE_IMPLICATION(enable_armv8, enable_sudiv) |
| 526 DEFINE_IMPLICATION(enable_armv8, enable_mls) |
| 527 |
522 // bootstrapper.cc | 528 // bootstrapper.cc |
523 DEFINE_STRING(expose_natives_as, NULL, "expose natives in global object") | 529 DEFINE_STRING(expose_natives_as, NULL, "expose natives in global object") |
524 DEFINE_STRING(expose_debug_as, NULL, "expose debug in global object") | 530 DEFINE_STRING(expose_debug_as, NULL, "expose debug in global object") |
525 DEFINE_BOOL(expose_free_buffer, false, "expose freeBuffer extension") | 531 DEFINE_BOOL(expose_free_buffer, false, "expose freeBuffer extension") |
526 DEFINE_BOOL(expose_gc, false, "expose gc extension") | 532 DEFINE_BOOL(expose_gc, false, "expose gc extension") |
527 DEFINE_STRING(expose_gc_as, NULL, | 533 DEFINE_STRING(expose_gc_as, NULL, |
528 "expose gc extension under the specified name") | 534 "expose gc extension under the specified name") |
529 DEFINE_IMPLICATION(expose_gc_as, expose_gc) | 535 DEFINE_IMPLICATION(expose_gc_as, expose_gc) |
530 DEFINE_BOOL(expose_externalize_string, false, | 536 DEFINE_BOOL(expose_externalize_string, false, |
531 "expose externalize string extension") | 537 "expose externalize string extension") |
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1108 #undef DEFINE_ALIAS_FLOAT | 1114 #undef DEFINE_ALIAS_FLOAT |
1109 #undef DEFINE_ALIAS_ARGS | 1115 #undef DEFINE_ALIAS_ARGS |
1110 | 1116 |
1111 #undef FLAG_MODE_DECLARE | 1117 #undef FLAG_MODE_DECLARE |
1112 #undef FLAG_MODE_DEFINE | 1118 #undef FLAG_MODE_DEFINE |
1113 #undef FLAG_MODE_DEFINE_DEFAULTS | 1119 #undef FLAG_MODE_DEFINE_DEFAULTS |
1114 #undef FLAG_MODE_META | 1120 #undef FLAG_MODE_META |
1115 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1121 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1116 | 1122 |
1117 #undef COMMA | 1123 #undef COMMA |
OLD | NEW |