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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 // 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, | |
104 "eliminate redundant push/pops in assembly code") | |
105 DEFINE_bool(print_push_pop_elimination, false, | |
106 "print elimination of redundant push/pops in assembly code") | |
107 DEFINE_bool(peephole_optimization, true, | 103 DEFINE_bool(peephole_optimization, true, |
108 "perform peephole optimizations in assembly code") | 104 "perform peephole optimizations in assembly code") |
109 DEFINE_bool(print_peephole_optimization, false, | 105 DEFINE_bool(print_peephole_optimization, false, |
110 "print peephole optimizations in assembly code") | 106 "print peephole optimizations in assembly code") |
111 DEFINE_bool(enable_sse2, true, | 107 DEFINE_bool(enable_sse2, true, |
112 "enable use of SSE2 instructions if available") | 108 "enable use of SSE2 instructions if available") |
113 DEFINE_bool(enable_sse3, true, | 109 DEFINE_bool(enable_sse3, true, |
114 "enable use of SSE3 instructions if available") | 110 "enable use of SSE3 instructions if available") |
115 DEFINE_bool(enable_cmov, true, | 111 DEFINE_bool(enable_cmov, true, |
116 "enable use of CMOV instruction if available") | 112 "enable use of CMOV instruction if available") |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 #undef FLAG | 438 #undef FLAG |
443 | 439 |
444 #undef DEFINE_bool | 440 #undef DEFINE_bool |
445 #undef DEFINE_int | 441 #undef DEFINE_int |
446 #undef DEFINE_string | 442 #undef DEFINE_string |
447 | 443 |
448 #undef FLAG_MODE_DECLARE | 444 #undef FLAG_MODE_DECLARE |
449 #undef FLAG_MODE_DEFINE | 445 #undef FLAG_MODE_DEFINE |
450 #undef FLAG_MODE_DEFINE_DEFAULTS | 446 #undef FLAG_MODE_DEFINE_DEFAULTS |
451 #undef FLAG_MODE_META | 447 #undef FLAG_MODE_META |
OLD | NEW |