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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 DEFINE_IMPLICATION(trace_opt_verbose, trace_opt) | 412 DEFINE_IMPLICATION(trace_opt_verbose, trace_opt) |
413 | 413 |
414 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc | 414 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc |
415 DEFINE_BOOL(debug_code, false, "generate extra code (assertions) for debugging") | 415 DEFINE_BOOL(debug_code, false, "generate extra code (assertions) for debugging") |
416 DEFINE_BOOL(code_comments, false, "emit comments in code disassembly") | 416 DEFINE_BOOL(code_comments, false, "emit comments in code disassembly") |
417 DEFINE_BOOL(enable_sse3, true, "enable use of SSE3 instructions if available") | 417 DEFINE_BOOL(enable_sse3, true, "enable use of SSE3 instructions if available") |
418 DEFINE_BOOL(enable_sse4_1, true, | 418 DEFINE_BOOL(enable_sse4_1, true, |
419 "enable use of SSE4.1 instructions if available") | 419 "enable use of SSE4.1 instructions if available") |
420 DEFINE_BOOL(enable_sahf, true, | 420 DEFINE_BOOL(enable_sahf, true, |
421 "enable use of SAHF instruction if available (X64 only)") | 421 "enable use of SAHF instruction if available (X64 only)") |
| 422 DEFINE_BOOL(enable_avx, true, "enable use of AVX instructions if available") |
| 423 DEFINE_BOOL(enable_fma3, true, "enable use of FMA3 instructions if available") |
422 DEFINE_BOOL(enable_vfp3, ENABLE_VFP3_DEFAULT, | 424 DEFINE_BOOL(enable_vfp3, ENABLE_VFP3_DEFAULT, |
423 "enable use of VFP3 instructions if available") | 425 "enable use of VFP3 instructions if available") |
424 DEFINE_BOOL(enable_armv7, ENABLE_ARMV7_DEFAULT, | 426 DEFINE_BOOL(enable_armv7, ENABLE_ARMV7_DEFAULT, |
425 "enable use of ARMv7 instructions if available (ARM only)") | 427 "enable use of ARMv7 instructions if available (ARM only)") |
426 DEFINE_BOOL(enable_armv8, ENABLE_ARMV8_DEFAULT, | 428 DEFINE_BOOL(enable_armv8, ENABLE_ARMV8_DEFAULT, |
427 "enable use of ARMv8 instructions if available (ARM 32-bit only)") | 429 "enable use of ARMv8 instructions if available (ARM 32-bit only)") |
428 DEFINE_BOOL(enable_neon, ENABLE_NEON_DEFAULT, | 430 DEFINE_BOOL(enable_neon, ENABLE_NEON_DEFAULT, |
429 "enable use of NEON instructions if available (ARM only)") | 431 "enable use of NEON instructions if available (ARM only)") |
430 DEFINE_BOOL(enable_sudiv, true, | 432 DEFINE_BOOL(enable_sudiv, true, |
431 "enable use of SDIV and UDIV instructions if available (ARM only)") | 433 "enable use of SDIV and UDIV instructions if available (ARM only)") |
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
984 #undef DEFINE_ALIAS_FLOAT | 986 #undef DEFINE_ALIAS_FLOAT |
985 #undef DEFINE_ALIAS_ARGS | 987 #undef DEFINE_ALIAS_ARGS |
986 | 988 |
987 #undef FLAG_MODE_DECLARE | 989 #undef FLAG_MODE_DECLARE |
988 #undef FLAG_MODE_DEFINE | 990 #undef FLAG_MODE_DEFINE |
989 #undef FLAG_MODE_DEFINE_DEFAULTS | 991 #undef FLAG_MODE_DEFINE_DEFAULTS |
990 #undef FLAG_MODE_META | 992 #undef FLAG_MODE_META |
991 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 993 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
992 | 994 |
993 #undef COMMA | 995 #undef COMMA |
OLD | NEW |