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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 "percentage of ICs that must have type info to allow optimization") | 343 "percentage of ICs that must have type info to allow optimization") |
344 DEFINE_int(self_opt_count, 130, "call count before self-optimization") | 344 DEFINE_int(self_opt_count, 130, "call count before self-optimization") |
345 | 345 |
346 DEFINE_bool(trace_opt_verbose, false, "extra verbose compilation tracing") | 346 DEFINE_bool(trace_opt_verbose, false, "extra verbose compilation tracing") |
347 DEFINE_implication(trace_opt_verbose, trace_opt) | 347 DEFINE_implication(trace_opt_verbose, trace_opt) |
348 | 348 |
349 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc | 349 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc |
350 DEFINE_bool(debug_code, false, | 350 DEFINE_bool(debug_code, false, |
351 "generate extra code (assertions) for debugging") | 351 "generate extra code (assertions) for debugging") |
352 DEFINE_bool(code_comments, false, "emit comments in code disassembly") | 352 DEFINE_bool(code_comments, false, "emit comments in code disassembly") |
353 DEFINE_bool(enable_sse2, true, | |
354 "enable use of SSE2 instructions if available") | |
355 DEFINE_bool(enable_sse3, true, | 353 DEFINE_bool(enable_sse3, true, |
356 "enable use of SSE3 instructions if available") | 354 "enable use of SSE3 instructions if available") |
357 DEFINE_bool(enable_sse4_1, true, | 355 DEFINE_bool(enable_sse4_1, true, |
358 "enable use of SSE4.1 instructions if available") | 356 "enable use of SSE4.1 instructions if available") |
359 DEFINE_bool(enable_cmov, true, | 357 DEFINE_bool(enable_cmov, true, |
360 "enable use of CMOV instruction if available") | 358 "enable use of CMOV instruction if available") |
361 DEFINE_bool(enable_sahf, true, | 359 DEFINE_bool(enable_sahf, true, |
362 "enable use of SAHF instruction if available (X64 only)") | 360 "enable use of SAHF instruction if available (X64 only)") |
363 DEFINE_bool(enable_vfp3, ENABLE_VFP3_DEFAULT, | 361 DEFINE_bool(enable_vfp3, ENABLE_VFP3_DEFAULT, |
364 "enable use of VFP3 instructions if available") | 362 "enable use of VFP3 instructions if available") |
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
899 #undef DEFINE_ALIAS_float | 897 #undef DEFINE_ALIAS_float |
900 #undef DEFINE_ALIAS_args | 898 #undef DEFINE_ALIAS_args |
901 | 899 |
902 #undef FLAG_MODE_DECLARE | 900 #undef FLAG_MODE_DECLARE |
903 #undef FLAG_MODE_DEFINE | 901 #undef FLAG_MODE_DEFINE |
904 #undef FLAG_MODE_DEFINE_DEFAULTS | 902 #undef FLAG_MODE_DEFINE_DEFAULTS |
905 #undef FLAG_MODE_META | 903 #undef FLAG_MODE_META |
906 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 904 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
907 | 905 |
908 #undef COMMA | 906 #undef COMMA |
OLD | NEW |