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

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

Issue 11275184: First draft of the sh4 port Base URL: http://github.com/v8/v8.git@master
Patch Set: Use GYP and fixe some typos Created 8 years, 1 month 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/codegen.h ('k') | src/frames-inl.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") 160 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values")
161 DEFINE_bool(clever_optimizations, 161 DEFINE_bool(clever_optimizations,
162 true, 162 true,
163 "Optimize object size, Array shift, DOM strings and string +") 163 "Optimize object size, Array shift, DOM strings and string +")
164 164
165 // Flags for data representation optimizations 165 // Flags for data representation optimizations
166 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") 166 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles")
167 DEFINE_bool(string_slices, true, "use string slices") 167 DEFINE_bool(string_slices, true, "use string slices")
168 168
169 // Flags for Crankshaft. 169 // Flags for Crankshaft.
170 #if defined(V8_TARGET_ARCH_SH4)
171 DEFINE_bool(crankshaft, false, "use crankshaft")
172 #else
170 DEFINE_bool(crankshaft, true, "use crankshaft") 173 DEFINE_bool(crankshaft, true, "use crankshaft")
174 #endif
171 DEFINE_string(hydrogen_filter, "", "optimization filter") 175 DEFINE_string(hydrogen_filter, "", "optimization filter")
172 DEFINE_bool(use_range, true, "use hydrogen range analysis") 176 DEFINE_bool(use_range, true, "use hydrogen range analysis")
173 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") 177 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis")
174 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") 178 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering")
175 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") 179 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing")
176 DEFINE_bool(use_inlining, true, "use function inlining") 180 DEFINE_bool(use_inlining, true, "use function inlining")
177 DEFINE_int(max_inlined_source_size, 600, 181 DEFINE_int(max_inlined_source_size, 600,
178 "maximum source size in bytes considered for a single inlining") 182 "maximum source size in bytes considered for a single inlining")
179 DEFINE_int(max_inlined_nodes, 196, 183 DEFINE_int(max_inlined_nodes, 196,
180 "maximum number of AST nodes considered for a single inlining") 184 "maximum number of AST nodes considered for a single inlining")
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 DEFINE_bool(enable_armv7, true, 295 DEFINE_bool(enable_armv7, true,
292 "enable use of ARMv7 instructions if available (ARM only)") 296 "enable use of ARMv7 instructions if available (ARM only)")
293 DEFINE_bool(enable_sudiv, true, 297 DEFINE_bool(enable_sudiv, true,
294 "enable use of SDIV and UDIV instructions if available (ARM only)") 298 "enable use of SDIV and UDIV instructions if available (ARM only)")
295 DEFINE_bool(enable_movw_movt, false, 299 DEFINE_bool(enable_movw_movt, false,
296 "enable loading 32-bit constant by means of movw/movt " 300 "enable loading 32-bit constant by means of movw/movt "
297 "instruction pairs (ARM only)") 301 "instruction pairs (ARM only)")
298 DEFINE_bool(enable_unaligned_accesses, true, 302 DEFINE_bool(enable_unaligned_accesses, true,
299 "enable unaligned accesses for ARMv7 (ARM only)") 303 "enable unaligned accesses for ARMv7 (ARM only)")
300 DEFINE_bool(enable_fpu, true, 304 DEFINE_bool(enable_fpu, true,
301 "enable use of MIPS FPU instructions if available (MIPS only)") 305 "enable use of FPU instructions if available (MIPS and SH4 only)")
302 306
303 // bootstrapper.cc 307 // bootstrapper.cc
304 DEFINE_string(expose_natives_as, NULL, "expose natives in global object") 308 DEFINE_string(expose_natives_as, NULL, "expose natives in global object")
305 DEFINE_string(expose_debug_as, NULL, "expose debug in global object") 309 DEFINE_string(expose_debug_as, NULL, "expose debug in global object")
306 DEFINE_bool(expose_gc, false, "expose gc extension") 310 DEFINE_bool(expose_gc, false, "expose gc extension")
307 DEFINE_bool(expose_externalize_string, false, 311 DEFINE_bool(expose_externalize_string, false,
308 "expose externalize string extension") 312 "expose externalize string extension")
309 DEFINE_int(stack_trace_limit, 10, "number of stack frames to capture") 313 DEFINE_int(stack_trace_limit, 10, "number of stack frames to capture")
310 DEFINE_bool(builtins_in_stack_traces, false, 314 DEFINE_bool(builtins_in_stack_traces, false,
311 "show built-in functions in stack traces") 315 "show built-in functions in stack traces")
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 #undef DEFINE_bool 712 #undef DEFINE_bool
709 #undef DEFINE_int 713 #undef DEFINE_int
710 #undef DEFINE_string 714 #undef DEFINE_string
711 #undef DEFINE_implication 715 #undef DEFINE_implication
712 716
713 #undef FLAG_MODE_DECLARE 717 #undef FLAG_MODE_DECLARE
714 #undef FLAG_MODE_DEFINE 718 #undef FLAG_MODE_DEFINE
715 #undef FLAG_MODE_DEFINE_DEFAULTS 719 #undef FLAG_MODE_DEFINE_DEFAULTS
716 #undef FLAG_MODE_META 720 #undef FLAG_MODE_META
717 #undef FLAG_MODE_DEFINE_IMPLICATIONS 721 #undef FLAG_MODE_DEFINE_IMPLICATIONS
OLDNEW
« no previous file with comments | « src/codegen.h ('k') | src/frames-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698