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

Side by Side Diff: src/mips/interface-descriptors-mips.cc

Issue 1149903005: Vector ICs: Introduce Store and KeyedStore IC code stubs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@vector-stores
Patch Set: REBASE. Created 5 years, 7 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 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 #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/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
11 namespace v8 { 11 namespace v8 {
12 namespace internal { 12 namespace internal {
13 13
14 const Register CallInterfaceDescriptor::ContextRegister() { return cp; } 14 const Register CallInterfaceDescriptor::ContextRegister() { return cp; }
15 15
16 16
17 const Register LoadDescriptor::ReceiverRegister() { return a1; } 17 const Register LoadDescriptor::ReceiverRegister() { return a1; }
18 const Register LoadDescriptor::NameRegister() { return a2; } 18 const Register LoadDescriptor::NameRegister() { return a2; }
19 const Register LoadDescriptor::SlotRegister() { return a0; } 19 const Register LoadDescriptor::SlotRegister() { return a0; }
20 20
21 21
22 const Register LoadWithVectorDescriptor::VectorRegister() { return a3; } 22 const Register LoadWithVectorDescriptor::VectorRegister() { return a3; }
23 23
24 24
25 const Register StoreDescriptor::ReceiverRegister() { return a1; } 25 const Register StoreDescriptor::ReceiverRegister() { return a1; }
26 const Register StoreDescriptor::NameRegister() { return a2; } 26 const Register StoreDescriptor::NameRegister() { return a2; }
27 const Register StoreDescriptor::ValueRegister() { return a0; } 27 const Register StoreDescriptor::ValueRegister() { return a0; }
28 28
29 29
30 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return t0; }
31
32
33 const Register VectorStoreICDescriptor::VectorRegister() { return a3; }
34
35
30 const Register StoreTransitionDescriptor::MapRegister() { return a3; } 36 const Register StoreTransitionDescriptor::MapRegister() { return a3; }
31 37
32 38
33 const Register ElementTransitionAndStoreDescriptor::MapRegister() { return a3; } 39 const Register ElementTransitionAndStoreDescriptor::MapRegister() { return a3; }
34 40
35 41
36 const Register InstanceofDescriptor::left() { return a0; } 42 const Register InstanceofDescriptor::left() { return a0; }
37 const Register InstanceofDescriptor::right() { return a1; } 43 const Register InstanceofDescriptor::right() { return a1; }
38 44
39 45
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 Representation::Tagged(), // 384 Representation::Tagged(), //
379 Representation::Tagged(), // 385 Representation::Tagged(), //
380 Representation::Tagged(), // 386 Representation::Tagged(), //
381 }; 387 };
382 data->Initialize(arraysize(registers), registers, representations); 388 data->Initialize(arraysize(registers), registers, representations);
383 } 389 }
384 } 390 }
385 } // namespace v8::internal 391 } // namespace v8::internal
386 392
387 #endif // V8_TARGET_ARCH_MIPS 393 #endif // V8_TARGET_ARCH_MIPS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698