| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 #if (defined CAN_USE_VFP3_INSTRUCTIONS) || !(defined ARM_TEST) | 108 #if (defined CAN_USE_VFP3_INSTRUCTIONS) || !(defined ARM_TEST) |
| 109 # define ENABLE_VFP3_DEFAULT true | 109 # define ENABLE_VFP3_DEFAULT true |
| 110 #else | 110 #else |
| 111 # define ENABLE_VFP3_DEFAULT false | 111 # define ENABLE_VFP3_DEFAULT false |
| 112 #endif | 112 #endif |
| 113 #if (defined CAN_USE_ARMV7_INSTRUCTIONS) || !(defined ARM_TEST) | 113 #if (defined CAN_USE_ARMV7_INSTRUCTIONS) || !(defined ARM_TEST) |
| 114 # define ENABLE_ARMV7_DEFAULT true | 114 # define ENABLE_ARMV7_DEFAULT true |
| 115 #else | 115 #else |
| 116 # define ENABLE_ARMV7_DEFAULT false | 116 # define ENABLE_ARMV7_DEFAULT false |
| 117 #endif | 117 #endif |
| 118 #if (defined CAN_USE_ARMV8_INSTRUCTIONS) || !(defined ARM_TEST) |
| 119 # define ENABLE_ARMV8_DEFAULT true |
| 120 #else |
| 121 # define ENABLE_ARMV8_DEFAULT false |
| 122 #endif |
| 118 #if (defined CAN_USE_VFP32DREGS) || !(defined ARM_TEST) | 123 #if (defined CAN_USE_VFP32DREGS) || !(defined ARM_TEST) |
| 119 # define ENABLE_32DREGS_DEFAULT true | 124 # define ENABLE_32DREGS_DEFAULT true |
| 120 #else | 125 #else |
| 121 # define ENABLE_32DREGS_DEFAULT false | 126 # define ENABLE_32DREGS_DEFAULT false |
| 122 #endif | 127 #endif |
| 123 #if (defined CAN_USE_NEON) || !(defined ARM_TEST) | 128 #if (defined CAN_USE_NEON) || !(defined ARM_TEST) |
| 124 # define ENABLE_NEON_DEFAULT true | 129 # define ENABLE_NEON_DEFAULT true |
| 125 #else | 130 #else |
| 126 # define ENABLE_NEON_DEFAULT false | 131 # define ENABLE_NEON_DEFAULT false |
| 127 #endif | 132 #endif |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 DEFINE_bool(enable_sse3, true, | 363 DEFINE_bool(enable_sse3, true, |
| 359 "enable use of SSE3 instructions if available") | 364 "enable use of SSE3 instructions if available") |
| 360 DEFINE_bool(enable_sse4_1, true, | 365 DEFINE_bool(enable_sse4_1, true, |
| 361 "enable use of SSE4.1 instructions if available") | 366 "enable use of SSE4.1 instructions if available") |
| 362 DEFINE_bool(enable_sahf, true, | 367 DEFINE_bool(enable_sahf, true, |
| 363 "enable use of SAHF instruction if available (X64 only)") | 368 "enable use of SAHF instruction if available (X64 only)") |
| 364 DEFINE_bool(enable_vfp3, ENABLE_VFP3_DEFAULT, | 369 DEFINE_bool(enable_vfp3, ENABLE_VFP3_DEFAULT, |
| 365 "enable use of VFP3 instructions if available") | 370 "enable use of VFP3 instructions if available") |
| 366 DEFINE_bool(enable_armv7, ENABLE_ARMV7_DEFAULT, | 371 DEFINE_bool(enable_armv7, ENABLE_ARMV7_DEFAULT, |
| 367 "enable use of ARMv7 instructions if available (ARM only)") | 372 "enable use of ARMv7 instructions if available (ARM only)") |
| 373 DEFINE_bool(enable_armv8, ENABLE_ARMV8_DEFAULT, |
| 374 "enable use of ARMv8 instructions if available (ARM only)") |
| 368 DEFINE_bool(enable_neon, ENABLE_NEON_DEFAULT, | 375 DEFINE_bool(enable_neon, ENABLE_NEON_DEFAULT, |
| 369 "enable use of NEON instructions if available (ARM only)") | 376 "enable use of NEON instructions if available (ARM only)") |
| 370 DEFINE_bool(enable_sudiv, true, | 377 DEFINE_bool(enable_sudiv, true, |
| 371 "enable use of SDIV and UDIV instructions if available (ARM only)") | 378 "enable use of SDIV and UDIV instructions if available (ARM only)") |
| 372 DEFINE_bool(enable_movw_movt, false, | 379 DEFINE_bool(enable_movw_movt, false, |
| 373 "enable loading 32-bit constant by means of movw/movt " | 380 "enable loading 32-bit constant by means of movw/movt " |
| 374 "instruction pairs (ARM only)") | 381 "instruction pairs (ARM only)") |
| 375 DEFINE_bool(enable_unaligned_accesses, true, | 382 DEFINE_bool(enable_unaligned_accesses, true, |
| 376 "enable unaligned accesses for ARMv7 (ARM only)") | 383 "enable unaligned accesses for ARMv7 (ARM only)") |
| 377 DEFINE_bool(enable_32dregs, ENABLE_32DREGS_DEFAULT, | 384 DEFINE_bool(enable_32dregs, ENABLE_32DREGS_DEFAULT, |
| (...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 890 #undef DEFINE_ALIAS_float | 897 #undef DEFINE_ALIAS_float |
| 891 #undef DEFINE_ALIAS_args | 898 #undef DEFINE_ALIAS_args |
| 892 | 899 |
| 893 #undef FLAG_MODE_DECLARE | 900 #undef FLAG_MODE_DECLARE |
| 894 #undef FLAG_MODE_DEFINE | 901 #undef FLAG_MODE_DEFINE |
| 895 #undef FLAG_MODE_DEFINE_DEFAULTS | 902 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 896 #undef FLAG_MODE_META | 903 #undef FLAG_MODE_META |
| 897 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 904 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 898 | 905 |
| 899 #undef COMMA | 906 #undef COMMA |
| OLD | NEW |