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

Side by Side Diff: src/arm64/interface-descriptors-arm64.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_ARM64 7 #if V8_TARGET_ARCH_ARM64
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 x1; } 17 const Register LoadDescriptor::ReceiverRegister() { return x1; }
18 const Register LoadDescriptor::NameRegister() { return x2; } 18 const Register LoadDescriptor::NameRegister() { return x2; }
19 const Register LoadDescriptor::SlotRegister() { return x0; } 19 const Register LoadDescriptor::SlotRegister() { return x0; }
20 20
21 21
22 const Register LoadWithVectorDescriptor::VectorRegister() { return x3; } 22 const Register LoadWithVectorDescriptor::VectorRegister() { return x3; }
23 23
24 24
25 const Register StoreDescriptor::ReceiverRegister() { return x1; } 25 const Register StoreDescriptor::ReceiverRegister() { return x1; }
26 const Register StoreDescriptor::NameRegister() { return x2; } 26 const Register StoreDescriptor::NameRegister() { return x2; }
27 const Register StoreDescriptor::ValueRegister() { return x0; } 27 const Register StoreDescriptor::ValueRegister() { return x0; }
28 28
29 29
30 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return x4; }
31
32
33 const Register VectorStoreICDescriptor::VectorRegister() { return x3; }
34
35
30 const Register StoreTransitionDescriptor::MapRegister() { return x3; } 36 const Register StoreTransitionDescriptor::MapRegister() { return x3; }
31 37
32 38
33 const Register ElementTransitionAndStoreDescriptor::MapRegister() { return x3; } 39 const Register ElementTransitionAndStoreDescriptor::MapRegister() { return x3; }
34 40
35 41
36 const Register InstanceofDescriptor::left() { 42 const Register InstanceofDescriptor::left() {
37 // Object to check (instanceof lhs). 43 // Object to check (instanceof lhs).
38 return x11; 44 return x11;
39 } 45 }
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 Representation::Tagged(), // 459 Representation::Tagged(), //
454 Representation::Tagged(), // 460 Representation::Tagged(), //
455 Representation::Tagged(), // 461 Representation::Tagged(), //
456 }; 462 };
457 data->Initialize(arraysize(registers), registers, representations); 463 data->Initialize(arraysize(registers), registers, representations);
458 } 464 }
459 } 465 }
460 } // namespace v8::internal 466 } // namespace v8::internal
461 467
462 #endif // V8_TARGET_ARCH_ARM64 468 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/code-stubs.h » ('j') | src/code-stubs.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698