Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Side by Side Diff: src/flag-definitions.h

Issue 264593002: ARM: update defaults for flags (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: review fix Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm/assembler-arm.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_VFP32DREGS) || !(defined ARM_TEST) 118 #if (defined CAN_USE_VFP32DREGS) || !(defined ARM_TEST)
119 # define ENABLE_32DREGS_DEFAULT true 119 # define ENABLE_32DREGS_DEFAULT true
120 #else 120 #else
121 # define ENABLE_32DREGS_DEFAULT false 121 # define ENABLE_32DREGS_DEFAULT false
122 #endif 122 #endif
123 #if (defined CAN_USE_NEON) || !(defined ARM_TEST)
124 # define ENABLE_NEON_DEFAULT true
125 #else
126 # define ENABLE_NEON_DEFAULT false
127 #endif
123 128
124 #define DEFINE_bool(nam, def, cmt) FLAG(BOOL, bool, nam, def, cmt) 129 #define DEFINE_bool(nam, def, cmt) FLAG(BOOL, bool, nam, def, cmt)
125 #define DEFINE_maybe_bool(nam, cmt) FLAG(MAYBE_BOOL, MaybeBoolFlag, nam, \ 130 #define DEFINE_maybe_bool(nam, cmt) FLAG(MAYBE_BOOL, MaybeBoolFlag, nam, \
126 { false COMMA false }, cmt) 131 { false COMMA false }, cmt)
127 #define DEFINE_int(nam, def, cmt) FLAG(INT, int, nam, def, cmt) 132 #define DEFINE_int(nam, def, cmt) FLAG(INT, int, nam, def, cmt)
128 #define DEFINE_float(nam, def, cmt) FLAG(FLOAT, double, nam, def, cmt) 133 #define DEFINE_float(nam, def, cmt) FLAG(FLOAT, double, nam, def, cmt)
129 #define DEFINE_string(nam, def, cmt) FLAG(STRING, const char*, nam, def, cmt) 134 #define DEFINE_string(nam, def, cmt) FLAG(STRING, const char*, nam, def, cmt)
130 #define DEFINE_args(nam, cmt) FLAG(ARGS, JSArguments, nam, \ 135 #define DEFINE_args(nam, cmt) FLAG(ARGS, JSArguments, nam, \
131 { 0 COMMA NULL }, cmt) 136 { 0 COMMA NULL }, cmt)
132 137
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 DEFINE_bool(enable_sse4_1, true, 368 DEFINE_bool(enable_sse4_1, true,
364 "enable use of SSE4.1 instructions if available") 369 "enable use of SSE4.1 instructions if available")
365 DEFINE_bool(enable_cmov, true, 370 DEFINE_bool(enable_cmov, true,
366 "enable use of CMOV instruction if available") 371 "enable use of CMOV instruction if available")
367 DEFINE_bool(enable_sahf, true, 372 DEFINE_bool(enable_sahf, true,
368 "enable use of SAHF instruction if available (X64 only)") 373 "enable use of SAHF instruction if available (X64 only)")
369 DEFINE_bool(enable_vfp3, ENABLE_VFP3_DEFAULT, 374 DEFINE_bool(enable_vfp3, ENABLE_VFP3_DEFAULT,
370 "enable use of VFP3 instructions if available") 375 "enable use of VFP3 instructions if available")
371 DEFINE_bool(enable_armv7, ENABLE_ARMV7_DEFAULT, 376 DEFINE_bool(enable_armv7, ENABLE_ARMV7_DEFAULT,
372 "enable use of ARMv7 instructions if available (ARM only)") 377 "enable use of ARMv7 instructions if available (ARM only)")
373 DEFINE_bool(enable_neon, true, 378 DEFINE_bool(enable_neon, ENABLE_NEON_DEFAULT,
374 "enable use of NEON instructions if available (ARM only)") 379 "enable use of NEON instructions if available (ARM only)")
375 DEFINE_bool(enable_sudiv, true, 380 DEFINE_bool(enable_sudiv, true,
376 "enable use of SDIV and UDIV instructions if available (ARM only)") 381 "enable use of SDIV and UDIV instructions if available (ARM only)")
377 DEFINE_bool(enable_movw_movt, false, 382 DEFINE_bool(enable_movw_movt, false,
378 "enable loading 32-bit constant by means of movw/movt " 383 "enable loading 32-bit constant by means of movw/movt "
379 "instruction pairs (ARM only)") 384 "instruction pairs (ARM only)")
380 DEFINE_bool(enable_unaligned_accesses, true, 385 DEFINE_bool(enable_unaligned_accesses, true,
381 "enable unaligned accesses for ARMv7 (ARM only)") 386 "enable unaligned accesses for ARMv7 (ARM only)")
382 DEFINE_bool(enable_32dregs, ENABLE_32DREGS_DEFAULT, 387 DEFINE_bool(enable_32dregs, ENABLE_32DREGS_DEFAULT,
383 "enable use of d16-d31 registers on ARM - this requires VFP3") 388 "enable use of d16-d31 registers on ARM - this requires VFP3")
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 #undef DEFINE_ALIAS_float 910 #undef DEFINE_ALIAS_float
906 #undef DEFINE_ALIAS_args 911 #undef DEFINE_ALIAS_args
907 912
908 #undef FLAG_MODE_DECLARE 913 #undef FLAG_MODE_DECLARE
909 #undef FLAG_MODE_DEFINE 914 #undef FLAG_MODE_DEFINE
910 #undef FLAG_MODE_DEFINE_DEFAULTS 915 #undef FLAG_MODE_DEFINE_DEFAULTS
911 #undef FLAG_MODE_META 916 #undef FLAG_MODE_META
912 #undef FLAG_MODE_DEFINE_IMPLICATIONS 917 #undef FLAG_MODE_DEFINE_IMPLICATIONS
913 918
914 #undef COMMA 919 #undef COMMA
OLDNEW
« no previous file with comments | « src/arm/assembler-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698