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 431 matching lines...) Loading... |
442 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc | 442 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc |
443 DEFINE_BOOL(debug_code, false, "generate extra code (assertions) for debugging") | 443 DEFINE_BOOL(debug_code, false, "generate extra code (assertions) for debugging") |
444 DEFINE_BOOL(code_comments, false, "emit comments in code disassembly") | 444 DEFINE_BOOL(code_comments, false, "emit comments in code disassembly") |
445 DEFINE_BOOL(enable_sse3, true, "enable use of SSE3 instructions if available") | 445 DEFINE_BOOL(enable_sse3, true, "enable use of SSE3 instructions if available") |
446 DEFINE_BOOL(enable_sse4_1, true, | 446 DEFINE_BOOL(enable_sse4_1, true, |
447 "enable use of SSE4.1 instructions if available") | 447 "enable use of SSE4.1 instructions if available") |
448 DEFINE_BOOL(enable_sahf, true, | 448 DEFINE_BOOL(enable_sahf, true, |
449 "enable use of SAHF instruction if available (X64 only)") | 449 "enable use of SAHF instruction if available (X64 only)") |
450 DEFINE_BOOL(enable_avx, true, "enable use of AVX instructions if available") | 450 DEFINE_BOOL(enable_avx, true, "enable use of AVX instructions if available") |
451 DEFINE_BOOL(enable_fma3, true, "enable use of FMA3 instructions if available") | 451 DEFINE_BOOL(enable_fma3, true, "enable use of FMA3 instructions if available") |
| 452 DEFINE_BOOL(enable_bmi1, true, "enable use of BMI1 instructions if available") |
| 453 DEFINE_BOOL(enable_bmi2, true, "enable use of BMI2 instructions if available") |
| 454 DEFINE_BOOL(enable_lzcnt, true, "enable use of LZCNT instruction if available") |
| 455 DEFINE_BOOL(enable_popcnt, true, |
| 456 "enable use of POPCNT instruction if available") |
452 DEFINE_BOOL(enable_vfp3, ENABLE_VFP3_DEFAULT, | 457 DEFINE_BOOL(enable_vfp3, ENABLE_VFP3_DEFAULT, |
453 "enable use of VFP3 instructions if available") | 458 "enable use of VFP3 instructions if available") |
454 DEFINE_BOOL(enable_armv7, ENABLE_ARMV7_DEFAULT, | 459 DEFINE_BOOL(enable_armv7, ENABLE_ARMV7_DEFAULT, |
455 "enable use of ARMv7 instructions if available (ARM only)") | 460 "enable use of ARMv7 instructions if available (ARM only)") |
456 DEFINE_BOOL(enable_armv8, ENABLE_ARMV8_DEFAULT, | 461 DEFINE_BOOL(enable_armv8, ENABLE_ARMV8_DEFAULT, |
457 "enable use of ARMv8 instructions if available (ARM 32-bit only)") | 462 "enable use of ARMv8 instructions if available (ARM 32-bit only)") |
458 DEFINE_BOOL(enable_neon, ENABLE_NEON_DEFAULT, | 463 DEFINE_BOOL(enable_neon, ENABLE_NEON_DEFAULT, |
459 "enable use of NEON instructions if available (ARM only)") | 464 "enable use of NEON instructions if available (ARM only)") |
460 DEFINE_BOOL(enable_sudiv, true, | 465 DEFINE_BOOL(enable_sudiv, true, |
461 "enable use of SDIV and UDIV instructions if available (ARM only)") | 466 "enable use of SDIV and UDIV instructions if available (ARM only)") |
(...skipping 580 matching lines...) Loading... |
1042 #undef DEFINE_ALIAS_FLOAT | 1047 #undef DEFINE_ALIAS_FLOAT |
1043 #undef DEFINE_ALIAS_ARGS | 1048 #undef DEFINE_ALIAS_ARGS |
1044 | 1049 |
1045 #undef FLAG_MODE_DECLARE | 1050 #undef FLAG_MODE_DECLARE |
1046 #undef FLAG_MODE_DEFINE | 1051 #undef FLAG_MODE_DEFINE |
1047 #undef FLAG_MODE_DEFINE_DEFAULTS | 1052 #undef FLAG_MODE_DEFINE_DEFAULTS |
1048 #undef FLAG_MODE_META | 1053 #undef FLAG_MODE_META |
1049 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1054 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1050 | 1055 |
1051 #undef COMMA | 1056 #undef COMMA |
OLD | NEW |