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

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

Issue 1046873004: MIPS: Refactor simulator and add selection instructions for r6. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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
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_MIPS64 7 #if V8_TARGET_ARCH_MIPS64
8 8
9 #include "src/mips64/constants-mips64.h" 9 #include "src/mips64/constants-mips64.h"
10 10
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 case SLTU: 262 case SLTU:
263 case TGE: 263 case TGE:
264 case TGEU: 264 case TGEU:
265 case TLT: 265 case TLT:
266 case TLTU: 266 case TLTU:
267 case TEQ: 267 case TEQ:
268 case TNE: 268 case TNE:
269 case MOVZ: 269 case MOVZ:
270 case MOVN: 270 case MOVN:
271 case MOVCI: 271 case MOVCI:
272 case SELEQZ_S:
273 case SELNEZ_S:
272 return kRegisterType; 274 return kRegisterType;
273 default: 275 default:
274 return kUnsupported; 276 return kUnsupported;
275 } 277 }
276 break; 278 break;
277 case SPECIAL2: 279 case SPECIAL2:
278 switch (FunctionFieldRaw()) { 280 switch (FunctionFieldRaw()) {
279 case MUL: 281 case MUL:
280 case CLZ: 282 case CLZ:
281 return kRegisterType; 283 return kRegisterType;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 default: 356 default:
355 return kUnsupported; 357 return kUnsupported;
356 } 358 }
357 return kUnsupported; 359 return kUnsupported;
358 } 360 }
359 361
360 362
361 } } // namespace v8::internal 363 } } // namespace v8::internal
362 364
363 #endif // V8_TARGET_ARCH_MIPS64 365 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698