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

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

Issue 422063005: Contribution of PowerPC port. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: re-upload - catch up to 8/19 level Created 6 years, 3 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
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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 DEFINE_BOOL(enable_movw_movt, false, 377 DEFINE_BOOL(enable_movw_movt, false,
378 "enable loading 32-bit constant by means of movw/movt " 378 "enable loading 32-bit constant by means of movw/movt "
379 "instruction pairs (ARM only)") 379 "instruction pairs (ARM only)")
380 DEFINE_BOOL(enable_unaligned_accesses, true, 380 DEFINE_BOOL(enable_unaligned_accesses, true,
381 "enable unaligned accesses for ARMv7 (ARM only)") 381 "enable unaligned accesses for ARMv7 (ARM only)")
382 DEFINE_BOOL(enable_32dregs, ENABLE_32DREGS_DEFAULT, 382 DEFINE_BOOL(enable_32dregs, ENABLE_32DREGS_DEFAULT,
383 "enable use of d16-d31 registers on ARM - this requires VFP3") 383 "enable use of d16-d31 registers on ARM - this requires VFP3")
384 DEFINE_BOOL(enable_vldr_imm, false, 384 DEFINE_BOOL(enable_vldr_imm, false,
385 "enable use of constant pools for double immediate (ARM only)") 385 "enable use of constant pools for double immediate (ARM only)")
386 DEFINE_BOOL(force_long_branches, false, 386 DEFINE_BOOL(force_long_branches, false,
387 "force all emitted branches to be in long mode (MIPS only)") 387 "force all emitted branches to be in long mode (MIPS/PPC only)")
388 388
389 // cpu-arm64.cc 389 // cpu-arm64.cc
390 DEFINE_BOOL(enable_always_align_csp, true, 390 DEFINE_BOOL(enable_always_align_csp, true,
391 "enable alignment of csp to 16 bytes on platforms which prefer " 391 "enable alignment of csp to 16 bytes on platforms which prefer "
392 "the register to always be aligned (ARM64 only)") 392 "the register to always be aligned (ARM64 only)")
393 393
394 // bootstrapper.cc 394 // bootstrapper.cc
395 DEFINE_STRING(expose_natives_as, NULL, "expose natives in global object") 395 DEFINE_STRING(expose_natives_as, NULL, "expose natives in global object")
396 DEFINE_STRING(expose_debug_as, NULL, "expose debug in global object") 396 DEFINE_STRING(expose_debug_as, NULL, "expose debug in global object")
397 DEFINE_BOOL(expose_free_buffer, false, "expose freeBuffer extension") 397 DEFINE_BOOL(expose_free_buffer, false, "expose freeBuffer extension")
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 // parser.cc 577 // parser.cc
578 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") 578 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax")
579 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") 579 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing")
580 580
581 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc 581 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc
582 DEFINE_BOOL(trace_sim, false, "Trace simulator execution") 582 DEFINE_BOOL(trace_sim, false, "Trace simulator execution")
583 DEFINE_BOOL(debug_sim, false, "Enable debugging the simulator") 583 DEFINE_BOOL(debug_sim, false, "Enable debugging the simulator")
584 DEFINE_BOOL(check_icache, false, 584 DEFINE_BOOL(check_icache, false,
585 "Check icache flushes in ARM and MIPS simulator") 585 "Check icache flushes in ARM and MIPS simulator")
586 DEFINE_INT(stop_sim_at, 0, "Simulator stop after x number of instructions") 586 DEFINE_INT(stop_sim_at, 0, "Simulator stop after x number of instructions")
587 #if defined(V8_TARGET_ARCH_ARM64) || defined(V8_TARGET_ARCH_MIPS64) 587 #if defined(V8_TARGET_ARCH_ARM64) || defined(V8_TARGET_ARCH_MIPS64) || \
588 defined(V8_TARGET_ARCH_PPC64)
588 DEFINE_INT(sim_stack_alignment, 16, 589 DEFINE_INT(sim_stack_alignment, 16,
589 "Stack alignment in bytes in simulator. This must be a power of two " 590 "Stack alignment in bytes in simulator. This must be a power of two "
590 "and it must be at least 16. 16 is default.") 591 "and it must be at least 16. 16 is default.")
591 #else 592 #else
592 DEFINE_INT(sim_stack_alignment, 8, 593 DEFINE_INT(sim_stack_alignment, 8,
593 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") 594 "Stack alingment in bytes in simulator (4 or 8, 8 is default)")
594 #endif 595 #endif
595 DEFINE_INT(sim_stack_size, 2 * MB / KB, 596 DEFINE_INT(sim_stack_size, 2 * MB / KB,
596 "Stack size of the ARM64 and MIPS64 simulator " 597 "Stack size of the ARM64 and MIPS64 simulator "
597 "in kBytes (default is 2 MB)") 598 "in kBytes (default is 2 MB)")
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
926 #undef DEFINE_ALIAS_FLOAT 927 #undef DEFINE_ALIAS_FLOAT
927 #undef DEFINE_ALIAS_ARGS 928 #undef DEFINE_ALIAS_ARGS
928 929
929 #undef FLAG_MODE_DECLARE 930 #undef FLAG_MODE_DECLARE
930 #undef FLAG_MODE_DEFINE 931 #undef FLAG_MODE_DEFINE
931 #undef FLAG_MODE_DEFINE_DEFAULTS 932 #undef FLAG_MODE_DEFINE_DEFAULTS
932 #undef FLAG_MODE_META 933 #undef FLAG_MODE_META
933 #undef FLAG_MODE_DEFINE_IMPLICATIONS 934 #undef FLAG_MODE_DEFINE_IMPLICATIONS
934 935
935 #undef COMMA 936 #undef COMMA
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698