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

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

Issue 2184823002: [arm] Clean up the use of UNALIGNED_ACCESSES. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « src/arm/simulator-arm.cc ('k') | src/globals.h » ('j') | 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 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 "enable use of ARMv7 instructions if available (ARM only)") 551 "enable use of ARMv7 instructions if available (ARM only)")
552 DEFINE_BOOL(enable_armv8, ENABLE_ARMV8_DEFAULT, 552 DEFINE_BOOL(enable_armv8, ENABLE_ARMV8_DEFAULT,
553 "enable use of ARMv8 instructions if available (ARM 32-bit only)") 553 "enable use of ARMv8 instructions if available (ARM 32-bit only)")
554 DEFINE_BOOL(enable_neon, ENABLE_NEON_DEFAULT, 554 DEFINE_BOOL(enable_neon, ENABLE_NEON_DEFAULT,
555 "enable use of NEON instructions if available (ARM only)") 555 "enable use of NEON instructions if available (ARM only)")
556 DEFINE_BOOL(enable_sudiv, true, 556 DEFINE_BOOL(enable_sudiv, true,
557 "enable use of SDIV and UDIV instructions if available (ARM only)") 557 "enable use of SDIV and UDIV instructions if available (ARM only)")
558 DEFINE_BOOL(enable_movw_movt, false, 558 DEFINE_BOOL(enable_movw_movt, false,
559 "enable loading 32-bit constant by means of movw/movt " 559 "enable loading 32-bit constant by means of movw/movt "
560 "instruction pairs (ARM only)") 560 "instruction pairs (ARM only)")
561 DEFINE_BOOL(enable_unaligned_accesses, true,
562 "enable unaligned accesses for ARMv7 (ARM only)")
563 DEFINE_BOOL(enable_32dregs, ENABLE_32DREGS_DEFAULT, 561 DEFINE_BOOL(enable_32dregs, ENABLE_32DREGS_DEFAULT,
564 "enable use of d16-d31 registers on ARM - this requires VFP3") 562 "enable use of d16-d31 registers on ARM - this requires VFP3")
565 DEFINE_BOOL(enable_vldr_imm, false, 563 DEFINE_BOOL(enable_vldr_imm, false,
566 "enable use of constant pools for double immediate (ARM only)") 564 "enable use of constant pools for double immediate (ARM only)")
567 DEFINE_BOOL(force_long_branches, false, 565 DEFINE_BOOL(force_long_branches, false,
568 "force all emitted branches to be in long mode (MIPS/PPC only)") 566 "force all emitted branches to be in long mode (MIPS/PPC only)")
569 DEFINE_STRING(mcpu, "auto", "enable optimization for specific cpu") 567 DEFINE_STRING(mcpu, "auto", "enable optimization for specific cpu")
570 568
569 // regexp-macro-assembler-*.cc
570 DEFINE_BOOL(enable_regexp_unaligned_accesses, true,
571 "enable unaligned accesses for the regexp engine")
572
571 DEFINE_IMPLICATION(enable_armv8, enable_vfp3) 573 DEFINE_IMPLICATION(enable_armv8, enable_vfp3)
572 DEFINE_IMPLICATION(enable_armv8, enable_neon) 574 DEFINE_IMPLICATION(enable_armv8, enable_neon)
573 DEFINE_IMPLICATION(enable_armv8, enable_32dregs) 575 DEFINE_IMPLICATION(enable_armv8, enable_32dregs)
574 DEFINE_IMPLICATION(enable_armv8, enable_sudiv) 576 DEFINE_IMPLICATION(enable_armv8, enable_sudiv)
575 577
576 // bootstrapper.cc 578 // bootstrapper.cc
577 DEFINE_STRING(expose_natives_as, NULL, "expose natives in global object") 579 DEFINE_STRING(expose_natives_as, NULL, "expose natives in global object")
578 DEFINE_STRING(expose_debug_as, NULL, "expose debug in global object") 580 DEFINE_STRING(expose_debug_as, NULL, "expose debug in global object")
579 DEFINE_BOOL(expose_free_buffer, false, "expose freeBuffer extension") 581 DEFINE_BOOL(expose_free_buffer, false, "expose freeBuffer extension")
580 DEFINE_BOOL(expose_gc, false, "expose gc extension") 582 DEFINE_BOOL(expose_gc, false, "expose gc extension")
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
1190 #undef DEFINE_ALIAS_FLOAT 1192 #undef DEFINE_ALIAS_FLOAT
1191 #undef DEFINE_ALIAS_ARGS 1193 #undef DEFINE_ALIAS_ARGS
1192 1194
1193 #undef FLAG_MODE_DECLARE 1195 #undef FLAG_MODE_DECLARE
1194 #undef FLAG_MODE_DEFINE 1196 #undef FLAG_MODE_DEFINE
1195 #undef FLAG_MODE_DEFINE_DEFAULTS 1197 #undef FLAG_MODE_DEFINE_DEFAULTS
1196 #undef FLAG_MODE_META 1198 #undef FLAG_MODE_META
1197 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1199 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1198 1200
1199 #undef COMMA 1201 #undef COMMA
OLDNEW
« no previous file with comments | « src/arm/simulator-arm.cc ('k') | src/globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698