OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 #define DEFINE_float(nam, def, cmt) FLAG(FLOAT, double, nam, def, cmt) | 90 #define DEFINE_float(nam, def, cmt) FLAG(FLOAT, double, nam, def, cmt) |
91 #define DEFINE_string(nam, def, cmt) FLAG(STRING, const char*, nam, def, cmt) | 91 #define DEFINE_string(nam, def, cmt) FLAG(STRING, const char*, nam, def, cmt) |
92 #define DEFINE_args(nam, def, cmt) FLAG(ARGS, JSArguments, nam, def, cmt) | 92 #define DEFINE_args(nam, def, cmt) FLAG(ARGS, JSArguments, nam, def, cmt) |
93 | 93 |
94 // | 94 // |
95 // Flags in all modes. | 95 // Flags in all modes. |
96 // | 96 // |
97 #define FLAG FLAG_FULL | 97 #define FLAG FLAG_FULL |
98 | 98 |
99 // Flags for Crankshaft. | 99 // Flags for Crankshaft. |
100 DEFINE_bool(crankshaft, true, "use crankshaft") | 100 #ifdef V8_TARGET_ARCH_MIPS |
| 101 DEFINE_bool(crankshaft, false, "use crankshaft") |
| 102 #else |
| 103 DEFINE_bool(crankshaft, true, "use crankshaft") |
| 104 #endif |
101 DEFINE_string(hydrogen_filter, "", "hydrogen use/trace filter") | 105 DEFINE_string(hydrogen_filter, "", "hydrogen use/trace filter") |
102 DEFINE_bool(use_hydrogen, true, "use generated hydrogen for compilation") | 106 DEFINE_bool(use_hydrogen, true, "use generated hydrogen for compilation") |
103 DEFINE_bool(build_lithium, true, "use lithium chunk builder") | 107 DEFINE_bool(build_lithium, true, "use lithium chunk builder") |
104 DEFINE_bool(alloc_lithium, true, "use lithium register allocator") | 108 DEFINE_bool(alloc_lithium, true, "use lithium register allocator") |
105 DEFINE_bool(use_lithium, true, "use lithium code generator") | 109 DEFINE_bool(use_lithium, true, "use lithium code generator") |
106 DEFINE_bool(use_range, true, "use hydrogen range analysis") | 110 DEFINE_bool(use_range, true, "use hydrogen range analysis") |
107 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") | 111 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") |
108 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") | 112 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") |
109 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") | 113 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") |
110 DEFINE_bool(use_inlining, true, "use function inlining") | 114 DEFINE_bool(use_inlining, true, "use function inlining") |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 DEFINE_bool(enable_cmov, true, | 158 DEFINE_bool(enable_cmov, true, |
155 "enable use of CMOV instruction if available") | 159 "enable use of CMOV instruction if available") |
156 DEFINE_bool(enable_rdtsc, true, | 160 DEFINE_bool(enable_rdtsc, true, |
157 "enable use of RDTSC instruction if available") | 161 "enable use of RDTSC instruction if available") |
158 DEFINE_bool(enable_sahf, true, | 162 DEFINE_bool(enable_sahf, true, |
159 "enable use of SAHF instruction if available (X64 only)") | 163 "enable use of SAHF instruction if available (X64 only)") |
160 DEFINE_bool(enable_vfp3, true, | 164 DEFINE_bool(enable_vfp3, true, |
161 "enable use of VFP3 instructions if available (ARM only)") | 165 "enable use of VFP3 instructions if available (ARM only)") |
162 DEFINE_bool(enable_armv7, true, | 166 DEFINE_bool(enable_armv7, true, |
163 "enable use of ARMv7 instructions if available (ARM only)") | 167 "enable use of ARMv7 instructions if available (ARM only)") |
| 168 DEFINE_bool(enable_fpu, true, |
| 169 "enable use of MIPS FPU instructions if available (MIPS only)") |
164 | 170 |
165 // bootstrapper.cc | 171 // bootstrapper.cc |
166 DEFINE_string(expose_natives_as, NULL, "expose natives in global object") | 172 DEFINE_string(expose_natives_as, NULL, "expose natives in global object") |
167 DEFINE_string(expose_debug_as, NULL, "expose debug in global object") | 173 DEFINE_string(expose_debug_as, NULL, "expose debug in global object") |
168 DEFINE_bool(expose_gc, false, "expose gc extension") | 174 DEFINE_bool(expose_gc, false, "expose gc extension") |
169 DEFINE_bool(expose_externalize_string, false, | 175 DEFINE_bool(expose_externalize_string, false, |
170 "expose externalize string extension") | 176 "expose externalize string extension") |
171 DEFINE_int(stack_trace_limit, 10, "number of stack frames to capture") | 177 DEFINE_int(stack_trace_limit, 10, "number of stack frames to capture") |
172 DEFINE_bool(disable_native_files, false, "disable builtin natives files") | 178 DEFINE_bool(disable_native_files, false, "disable builtin natives files") |
173 | 179 |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
541 #undef FLAG | 547 #undef FLAG |
542 | 548 |
543 #undef DEFINE_bool | 549 #undef DEFINE_bool |
544 #undef DEFINE_int | 550 #undef DEFINE_int |
545 #undef DEFINE_string | 551 #undef DEFINE_string |
546 | 552 |
547 #undef FLAG_MODE_DECLARE | 553 #undef FLAG_MODE_DECLARE |
548 #undef FLAG_MODE_DEFINE | 554 #undef FLAG_MODE_DEFINE |
549 #undef FLAG_MODE_DEFINE_DEFAULTS | 555 #undef FLAG_MODE_DEFINE_DEFAULTS |
550 #undef FLAG_MODE_META | 556 #undef FLAG_MODE_META |
OLD | NEW |