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

Side by Side Diff: src/mips/constants-mips.cc

Issue 1593713002: MIPS: Refine 'r6 compact branch optimization.' (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add DCHECKs, rebased. Created 4 years, 11 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/mips/constants-mips.h ('k') | src/mips/disasm-mips.cc » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 #if V8_TARGET_ARCH_MIPS 5 #if V8_TARGET_ARCH_MIPS
6 6
7 #include "src/mips/constants-mips.h" 7 #include "src/mips/constants-mips.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 case BNE: 135 case BNE:
136 case BLEZ: // POP06 bgeuc/bleuc, blezalc, bgezalc 136 case BLEZ: // POP06 bgeuc/bleuc, blezalc, bgezalc
137 case BGTZ: // POP07 bltuc/bgtuc, bgtzalc, bltzalc 137 case BGTZ: // POP07 bltuc/bgtuc, bgtzalc, bltzalc
138 case BEQL: 138 case BEQL:
139 case BNEL: 139 case BNEL:
140 case BLEZL: // POP26 bgezc, blezc, bgec/blec 140 case BLEZL: // POP26 bgezc, blezc, bgec/blec
141 case BGTZL: // POP27 bgtzc, bltzc, bltc/bgtc 141 case BGTZL: // POP27 bgtzc, bltzc, bltc/bgtc
142 case BC: 142 case BC:
143 case BALC: 143 case BALC:
144 case POP10: // beqzalc, bovc, beqc 144 case POP10: // beqzalc, bovc, beqc
145 case POP30: // bnezalc, bvnc, bnec 145 case POP30: // bnezalc, bnvc, bnec
146 case POP66: // beqzc, jic 146 case POP66: // beqzc, jic
147 case POP76: // bnezc, jialc 147 case POP76: // bnezc, jialc
148 return true; 148 return true;
149 case REGIMM: 149 case REGIMM:
150 switch (instr & kRtFieldMask) { 150 switch (instr & kRtFieldMask) {
151 case BLTZ: 151 case BLTZ:
152 case BGEZ: 152 case BGEZ:
153 case BLTZAL: 153 case BLTZAL:
154 case BGEZAL: 154 case BGEZAL:
155 return true; 155 return true;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 return false; 230 return false;
231 } 231 }
232 } 232 }
233 } 233 }
234 234
235 235
236 } // namespace internal 236 } // namespace internal
237 } // namespace v8 237 } // namespace v8
238 238
239 #endif // V8_TARGET_ARCH_MIPS 239 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/constants-mips.h ('k') | src/mips/disasm-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698