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

Side by Side Diff: src/x64/interface-descriptors-x64.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
« src/interface-descriptors.h ('K') | « src/x64/code-stubs-x64.cc ('k') | no next file » | 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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_X64 7 #if V8_TARGET_ARCH_X64
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 rsi; } 14 const Register CallInterfaceDescriptor::ContextRegister() { return rsi; }
15 15
16 16
17 const Register LoadDescriptor::ReceiverRegister() { return rdx; } 17 const Register LoadDescriptor::ReceiverRegister() { return rdx; }
18 const Register LoadDescriptor::NameRegister() { return rcx; } 18 const Register LoadDescriptor::NameRegister() { return rcx; }
19 const Register LoadDescriptor::SlotRegister() { return rax; } 19 const Register LoadDescriptor::SlotRegister() { return rax; }
20 20
21 21
22 const Register LoadWithVectorDescriptor::VectorRegister() { return rbx; } 22 const Register LoadWithVectorDescriptor::VectorRegister() { return rbx; }
23 23
24 24
25 const Register StoreDescriptor::ReceiverRegister() { return rdx; } 25 const Register StoreDescriptor::ReceiverRegister() { return rdx; }
26 const Register StoreDescriptor::NameRegister() { return rcx; } 26 const Register StoreDescriptor::NameRegister() { return rcx; }
27 const Register StoreDescriptor::ValueRegister() { return rax; } 27 const Register StoreDescriptor::ValueRegister() { return rax; }
28 28
29 29
30 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return rdi; }
31
32
33 const Register VectorStoreICDescriptor::VectorRegister() { return rbx; }
34
35
30 const Register StoreTransitionDescriptor::MapRegister() { return rbx; } 36 const Register StoreTransitionDescriptor::MapRegister() { return rbx; }
31 37
32 38
33 const Register ElementTransitionAndStoreDescriptor::MapRegister() { 39 const Register ElementTransitionAndStoreDescriptor::MapRegister() {
34 return rbx; 40 return rbx;
35 } 41 }
36 42
37 43
38 const Register InstanceofDescriptor::left() { return rax; } 44 const Register InstanceofDescriptor::left() { return rax; }
39 const Register InstanceofDescriptor::right() { return rdx; } 45 const Register InstanceofDescriptor::right() { return rdx; }
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 Representation::Tagged(), // 386 Representation::Tagged(), //
381 Representation::Tagged(), // 387 Representation::Tagged(), //
382 Representation::Tagged(), // 388 Representation::Tagged(), //
383 }; 389 };
384 data->Initialize(arraysize(registers), registers, representations); 390 data->Initialize(arraysize(registers), registers, representations);
385 } 391 }
386 } 392 }
387 } // namespace v8::internal 393 } // namespace v8::internal
388 394
389 #endif // V8_TARGET_ARCH_X64 395 #endif // V8_TARGET_ARCH_X64
OLDNEW
« src/interface-descriptors.h ('K') | « src/x64/code-stubs-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698