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

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

Issue 403393008: MIPS: Introduce FLAG_vector_ics. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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/mips64/full-codegen-mips64.cc ('k') | src/mips64/lithium-codegen-mips64.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 5
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #if V8_TARGET_ARCH_MIPS64 9 #if V8_TARGET_ARCH_MIPS64
10 10
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 504
505 __ TailCallExternalReference(ref, 2, 1); 505 __ TailCallExternalReference(ref, 2, 1);
506 } 506 }
507 507
508 508
509 // IC register specifications 509 // IC register specifications
510 const Register LoadIC::ReceiverRegister() { return a1; } 510 const Register LoadIC::ReceiverRegister() { return a1; }
511 const Register LoadIC::NameRegister() { return a2; } 511 const Register LoadIC::NameRegister() { return a2; }
512 512
513 513
514 const Register StoreIC::ReceiverRegister() { return a1; } 514 const Register LoadIC::SlotRegister() {
515 ASSERT(FLAG_vector_ics);
516 return a0;
517 }
518
519
520 const Register LoadIC::VectorRegister() {
521 ASSERT(FLAG_vector_ics);
522 return a3;
523 }
524
525
526 const Register StoreIC::ReceiverRegister() { return a1; }
515 const Register StoreIC::NameRegister() { return a2; } 527 const Register StoreIC::NameRegister() { return a2; }
516 const Register StoreIC::ValueRegister() { return a0; } 528 const Register StoreIC::ValueRegister() { return a0; }
517 529
518 530
519 const Register KeyedStoreIC::ReceiverRegister() { 531 const Register KeyedStoreIC::ReceiverRegister() {
520 return StoreIC::ReceiverRegister(); 532 return StoreIC::ReceiverRegister();
521 } 533 }
522 534
523 535
524 const Register KeyedStoreIC::NameRegister() { 536 const Register KeyedStoreIC::NameRegister() {
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
1260 } else { 1272 } else {
1261 ASSERT(Assembler::IsBne(branch_instr)); 1273 ASSERT(Assembler::IsBne(branch_instr));
1262 patcher.ChangeBranchCondition(eq); 1274 patcher.ChangeBranchCondition(eq);
1263 } 1275 }
1264 } 1276 }
1265 1277
1266 1278
1267 } } // namespace v8::internal 1279 } } // namespace v8::internal
1268 1280
1269 #endif // V8_TARGET_ARCH_MIPS64 1281 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips64/full-codegen-mips64.cc ('k') | src/mips64/lithium-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698