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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 "max percentage of megamorphic/generic ICs to allow optimization") | 542 "max percentage of megamorphic/generic ICs to allow optimization") |
543 DEFINE_INT(self_opt_count, 130, "call count before self-optimization") | 543 DEFINE_INT(self_opt_count, 130, "call count before self-optimization") |
544 | 544 |
545 DEFINE_BOOL(trace_opt_verbose, false, "extra verbose compilation tracing") | 545 DEFINE_BOOL(trace_opt_verbose, false, "extra verbose compilation tracing") |
546 DEFINE_IMPLICATION(trace_opt_verbose, trace_opt) | 546 DEFINE_IMPLICATION(trace_opt_verbose, trace_opt) |
547 | 547 |
548 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc | 548 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc |
549 DEFINE_BOOL(debug_code, false, "generate extra code (assertions) for debugging") | 549 DEFINE_BOOL(debug_code, false, "generate extra code (assertions) for debugging") |
550 DEFINE_BOOL(code_comments, false, "emit comments in code disassembly") | 550 DEFINE_BOOL(code_comments, false, "emit comments in code disassembly") |
551 DEFINE_BOOL(enable_sse3, true, "enable use of SSE3 instructions if available") | 551 DEFINE_BOOL(enable_sse3, true, "enable use of SSE3 instructions if available") |
| 552 DEFINE_BOOL(enable_ssse3, true, "enable use of SSSE3 instructions if available") |
552 DEFINE_BOOL(enable_sse4_1, true, | 553 DEFINE_BOOL(enable_sse4_1, true, |
553 "enable use of SSE4.1 instructions if available") | 554 "enable use of SSE4.1 instructions if available") |
554 DEFINE_BOOL(enable_sahf, true, | 555 DEFINE_BOOL(enable_sahf, true, |
555 "enable use of SAHF instruction if available (X64 only)") | 556 "enable use of SAHF instruction if available (X64 only)") |
556 DEFINE_BOOL(enable_avx, true, "enable use of AVX instructions if available") | 557 DEFINE_BOOL(enable_avx, true, "enable use of AVX instructions if available") |
557 DEFINE_BOOL(enable_fma3, true, "enable use of FMA3 instructions if available") | 558 DEFINE_BOOL(enable_fma3, true, "enable use of FMA3 instructions if available") |
558 DEFINE_BOOL(enable_bmi1, true, "enable use of BMI1 instructions if available") | 559 DEFINE_BOOL(enable_bmi1, true, "enable use of BMI1 instructions if available") |
559 DEFINE_BOOL(enable_bmi2, true, "enable use of BMI2 instructions if available") | 560 DEFINE_BOOL(enable_bmi2, true, "enable use of BMI2 instructions if available") |
560 DEFINE_BOOL(enable_lzcnt, true, "enable use of LZCNT instruction if available") | 561 DEFINE_BOOL(enable_lzcnt, true, "enable use of LZCNT instruction if available") |
561 DEFINE_BOOL(enable_popcnt, true, | 562 DEFINE_BOOL(enable_popcnt, true, |
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1201 #undef DEFINE_ALIAS_FLOAT | 1202 #undef DEFINE_ALIAS_FLOAT |
1202 #undef DEFINE_ALIAS_ARGS | 1203 #undef DEFINE_ALIAS_ARGS |
1203 | 1204 |
1204 #undef FLAG_MODE_DECLARE | 1205 #undef FLAG_MODE_DECLARE |
1205 #undef FLAG_MODE_DEFINE | 1206 #undef FLAG_MODE_DEFINE |
1206 #undef FLAG_MODE_DEFINE_DEFAULTS | 1207 #undef FLAG_MODE_DEFINE_DEFAULTS |
1207 #undef FLAG_MODE_META | 1208 #undef FLAG_MODE_META |
1208 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1209 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1209 | 1210 |
1210 #undef COMMA | 1211 #undef COMMA |
OLD | NEW |