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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc | 428 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc |
429 DEFINE_BOOL(debug_code, false, "generate extra code (assertions) for debugging") | 429 DEFINE_BOOL(debug_code, false, "generate extra code (assertions) for debugging") |
430 DEFINE_BOOL(code_comments, false, "emit comments in code disassembly") | 430 DEFINE_BOOL(code_comments, false, "emit comments in code disassembly") |
431 DEFINE_BOOL(enable_sse3, true, "enable use of SSE3 instructions if available") | 431 DEFINE_BOOL(enable_sse3, true, "enable use of SSE3 instructions if available") |
432 DEFINE_BOOL(enable_sse4_1, true, | 432 DEFINE_BOOL(enable_sse4_1, true, |
433 "enable use of SSE4.1 instructions if available") | 433 "enable use of SSE4.1 instructions if available") |
434 DEFINE_BOOL(enable_sahf, true, | 434 DEFINE_BOOL(enable_sahf, true, |
435 "enable use of SAHF instruction if available (X64 only)") | 435 "enable use of SAHF instruction if available (X64 only)") |
436 DEFINE_BOOL(enable_avx, true, "enable use of AVX instructions if available") | 436 DEFINE_BOOL(enable_avx, true, "enable use of AVX instructions if available") |
437 DEFINE_BOOL(enable_fma3, true, "enable use of FMA3 instructions if available") | 437 DEFINE_BOOL(enable_fma3, true, "enable use of FMA3 instructions if available") |
| 438 DEFINE_BOOL(intel_atom, false, |
| 439 "enable specific optimization for Atom if available") |
438 DEFINE_BOOL(enable_vfp3, ENABLE_VFP3_DEFAULT, | 440 DEFINE_BOOL(enable_vfp3, ENABLE_VFP3_DEFAULT, |
439 "enable use of VFP3 instructions if available") | 441 "enable use of VFP3 instructions if available") |
440 DEFINE_BOOL(enable_armv7, ENABLE_ARMV7_DEFAULT, | 442 DEFINE_BOOL(enable_armv7, ENABLE_ARMV7_DEFAULT, |
441 "enable use of ARMv7 instructions if available (ARM only)") | 443 "enable use of ARMv7 instructions if available (ARM only)") |
442 DEFINE_BOOL(enable_armv8, ENABLE_ARMV8_DEFAULT, | 444 DEFINE_BOOL(enable_armv8, ENABLE_ARMV8_DEFAULT, |
443 "enable use of ARMv8 instructions if available (ARM 32-bit only)") | 445 "enable use of ARMv8 instructions if available (ARM 32-bit only)") |
444 DEFINE_BOOL(enable_neon, ENABLE_NEON_DEFAULT, | 446 DEFINE_BOOL(enable_neon, ENABLE_NEON_DEFAULT, |
445 "enable use of NEON instructions if available (ARM only)") | 447 "enable use of NEON instructions if available (ARM only)") |
446 DEFINE_BOOL(enable_sudiv, true, | 448 DEFINE_BOOL(enable_sudiv, true, |
447 "enable use of SDIV and UDIV instructions if available (ARM only)") | 449 "enable use of SDIV and UDIV instructions if available (ARM only)") |
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
996 #undef DEFINE_ALIAS_FLOAT | 998 #undef DEFINE_ALIAS_FLOAT |
997 #undef DEFINE_ALIAS_ARGS | 999 #undef DEFINE_ALIAS_ARGS |
998 | 1000 |
999 #undef FLAG_MODE_DECLARE | 1001 #undef FLAG_MODE_DECLARE |
1000 #undef FLAG_MODE_DEFINE | 1002 #undef FLAG_MODE_DEFINE |
1001 #undef FLAG_MODE_DEFINE_DEFAULTS | 1003 #undef FLAG_MODE_DEFINE_DEFAULTS |
1002 #undef FLAG_MODE_META | 1004 #undef FLAG_MODE_META |
1003 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1005 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1004 | 1006 |
1005 #undef COMMA | 1007 #undef COMMA |
OLD | NEW |