OLD | NEW |
1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 #define FLAG FLAG_FULL | 97 #define FLAG FLAG_FULL |
98 | 98 |
99 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc | 99 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc |
100 DEFINE_bool(debug_code, false, | 100 DEFINE_bool(debug_code, false, |
101 "generate extra code (comments, assertions) for debugging") | 101 "generate extra code (comments, assertions) for debugging") |
102 DEFINE_bool(emit_branch_hints, false, "emit branch hints") | 102 DEFINE_bool(emit_branch_hints, false, "emit branch hints") |
103 DEFINE_bool(push_pop_elimination, true, | 103 DEFINE_bool(push_pop_elimination, true, |
104 "eliminate redundant push/pops in assembly code") | 104 "eliminate redundant push/pops in assembly code") |
105 DEFINE_bool(print_push_pop_elimination, false, | 105 DEFINE_bool(print_push_pop_elimination, false, |
106 "print elimination of redundant push/pops in assembly code") | 106 "print elimination of redundant push/pops in assembly code") |
| 107 DEFINE_bool(peephole_optimization, true, |
| 108 "perform peephole optimizations in assembly code") |
| 109 DEFINE_bool(print_peephole_optimization, false, |
| 110 "print peephole optimizations in assembly code") |
107 DEFINE_bool(enable_sse2, true, | 111 DEFINE_bool(enable_sse2, true, |
108 "enable use of SSE2 instructions if available") | 112 "enable use of SSE2 instructions if available") |
109 DEFINE_bool(enable_sse3, true, | 113 DEFINE_bool(enable_sse3, true, |
110 "enable use of SSE3 instructions if available") | 114 "enable use of SSE3 instructions if available") |
111 DEFINE_bool(enable_cmov, true, | 115 DEFINE_bool(enable_cmov, true, |
112 "enable use of CMOV instruction if available") | 116 "enable use of CMOV instruction if available") |
113 DEFINE_bool(enable_rdtsc, true, | 117 DEFINE_bool(enable_rdtsc, true, |
114 "enable use of RDTSC instruction if available") | 118 "enable use of RDTSC instruction if available") |
115 DEFINE_bool(enable_sahf, true, | 119 DEFINE_bool(enable_sahf, true, |
116 "enable use of SAHF instruction if available (X64 only)") | 120 "enable use of SAHF instruction if available (X64 only)") |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 #undef FLAG | 442 #undef FLAG |
439 | 443 |
440 #undef DEFINE_bool | 444 #undef DEFINE_bool |
441 #undef DEFINE_int | 445 #undef DEFINE_int |
442 #undef DEFINE_string | 446 #undef DEFINE_string |
443 | 447 |
444 #undef FLAG_MODE_DECLARE | 448 #undef FLAG_MODE_DECLARE |
445 #undef FLAG_MODE_DEFINE | 449 #undef FLAG_MODE_DEFINE |
446 #undef FLAG_MODE_DEFINE_DEFAULTS | 450 #undef FLAG_MODE_DEFINE_DEFAULTS |
447 #undef FLAG_MODE_META | 451 #undef FLAG_MODE_META |
OLD | NEW |