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

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

Issue 467583002: Reland "MIPS: Add support for arch. revision 6 to mips32 port." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix for gclient runhooks failure. Created 6 years, 4 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 | Annotate | Revision Log
« 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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_MIPS 7 #if V8_TARGET_ARCH_MIPS
8 8
9 #include "src/mips/constants-mips.h" 9 #include "src/mips/constants-mips.h"
10 10
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 case INS: 271 case INS:
272 case EXT: 272 case EXT:
273 return kRegisterType; 273 return kRegisterType;
274 default: 274 default:
275 return kUnsupported; 275 return kUnsupported;
276 } 276 }
277 break; 277 break;
278 case COP1: // Coprocessor instructions. 278 case COP1: // Coprocessor instructions.
279 switch (RsFieldRawNoAssert()) { 279 switch (RsFieldRawNoAssert()) {
280 case BC1: // Branch on coprocessor condition. 280 case BC1: // Branch on coprocessor condition.
281 case BC1EQZ:
282 case BC1NEZ:
281 return kImmediateType; 283 return kImmediateType;
282 default: 284 default:
283 return kRegisterType; 285 return kRegisterType;
284 } 286 }
285 break; 287 break;
286 case COP1X: 288 case COP1X:
287 return kRegisterType; 289 return kRegisterType;
288 // 16 bits Immediate type instructions. e.g.: addi dest, src, imm16. 290 // 16 bits Immediate type instructions. e.g.: addi dest, src, imm16.
289 case REGIMM: 291 case REGIMM:
290 case BEQ: 292 case BEQ:
291 case BNE: 293 case BNE:
292 case BLEZ: 294 case BLEZ:
293 case BGTZ: 295 case BGTZ:
294 case ADDI: 296 case ADDI:
297 case DADDI:
295 case ADDIU: 298 case ADDIU:
296 case SLTI: 299 case SLTI:
297 case SLTIU: 300 case SLTIU:
298 case ANDI: 301 case ANDI:
299 case ORI: 302 case ORI:
300 case XORI: 303 case XORI:
301 case LUI: 304 case LUI:
302 case BEQL: 305 case BEQL:
303 case BNEL: 306 case BNEL:
304 case BLEZL: 307 case BLEZL:
305 case BGTZL: 308 case BGTZL:
309 case BEQZC:
310 case BNEZC:
306 case LB: 311 case LB:
307 case LH: 312 case LH:
308 case LWL: 313 case LWL:
309 case LW: 314 case LW:
310 case LBU: 315 case LBU:
311 case LHU: 316 case LHU:
312 case LWR: 317 case LWR:
313 case SB: 318 case SB:
314 case SH: 319 case SH:
315 case SWL: 320 case SWL:
(...skipping 11 matching lines...) Expand all
327 default: 332 default:
328 return kUnsupported; 333 return kUnsupported;
329 } 334 }
330 return kUnsupported; 335 return kUnsupported;
331 } 336 }
332 337
333 338
334 } } // namespace v8::internal 339 } } // namespace v8::internal
335 340
336 #endif // V8_TARGET_ARCH_MIPS 341 #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