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

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

Issue 1148963003: X87: Vector ICs: Introduce Store and KeyedStore IC code stubs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
« no previous file with comments | « src/x87/code-stubs-x87.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_X87 7 #if V8_TARGET_ARCH_X87
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 esi; } 14 const Register CallInterfaceDescriptor::ContextRegister() { return esi; }
15 15
16 16
17 const Register LoadDescriptor::ReceiverRegister() { return edx; } 17 const Register LoadDescriptor::ReceiverRegister() { return edx; }
18 const Register LoadDescriptor::NameRegister() { return ecx; } 18 const Register LoadDescriptor::NameRegister() { return ecx; }
19 const Register LoadDescriptor::SlotRegister() { return eax; } 19 const Register LoadDescriptor::SlotRegister() { return eax; }
20 20
21 const Register LoadWithVectorDescriptor::VectorRegister() { return ebx; } 21 const Register LoadWithVectorDescriptor::VectorRegister() { return ebx; }
22 22
23 23
24 const Register StoreDescriptor::ReceiverRegister() { return edx; } 24 const Register StoreDescriptor::ReceiverRegister() { return edx; }
25 const Register StoreDescriptor::NameRegister() { return ecx; } 25 const Register StoreDescriptor::NameRegister() { return ecx; }
26 const Register StoreDescriptor::ValueRegister() { return eax; } 26 const Register StoreDescriptor::ValueRegister() { return eax; }
27 27
28 28
29 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return edi; }
30
31
32 const Register VectorStoreICDescriptor::VectorRegister() { return ebx; }
33
34
29 const Register StoreTransitionDescriptor::MapRegister() { return ebx; } 35 const Register StoreTransitionDescriptor::MapRegister() { return ebx; }
30 36
31 37
32 const Register ElementTransitionAndStoreDescriptor::MapRegister() { 38 const Register ElementTransitionAndStoreDescriptor::MapRegister() {
33 return ebx; 39 return ebx;
34 } 40 }
35 41
36 42
37 const Register InstanceofDescriptor::left() { return eax; } 43 const Register InstanceofDescriptor::left() { return eax; }
38 const Register InstanceofDescriptor::right() { return edx; } 44 const Register InstanceofDescriptor::right() { return edx; }
(...skipping 339 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_X87 393 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x87/code-stubs-x87.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698