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

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

Issue 1292173003: VectorICs: New interface descriptor for vector transitioning stores. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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/mips64/interface-descriptors-mips64.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 #if V8_TARGET_ARCH_X64 5 #if V8_TARGET_ARCH_X64
6 6
7 #include "src/interface-descriptors.h" 7 #include "src/interface-descriptors.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 13 matching lines...) Expand all
24 const Register StoreDescriptor::NameRegister() { return rcx; } 24 const Register StoreDescriptor::NameRegister() { return rcx; }
25 const Register StoreDescriptor::ValueRegister() { return rax; } 25 const Register StoreDescriptor::ValueRegister() { return rax; }
26 26
27 27
28 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return rdi; } 28 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return rdi; }
29 29
30 30
31 const Register VectorStoreICDescriptor::VectorRegister() { return rbx; } 31 const Register VectorStoreICDescriptor::VectorRegister() { return rbx; }
32 32
33 33
34 const Register VectorStoreTransitionDescriptor::SlotRegister() { return rdi; }
35 const Register VectorStoreTransitionDescriptor::VectorRegister() { return rbx; }
36 const Register VectorStoreTransitionDescriptor::MapRegister() { return r11; }
37
38
34 const Register StoreTransitionDescriptor::MapRegister() { return rbx; } 39 const Register StoreTransitionDescriptor::MapRegister() { return rbx; }
35 40
36 41
37 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return rbx; } 42 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return rbx; }
38 43
39 44
40 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return rbx; } 45 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return rbx; }
41 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return rax; } 46 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return rax; }
42 47
43 48
(...skipping 13 matching lines...) Expand all
57 62
58 const Register MathPowIntegerDescriptor::exponent() { 63 const Register MathPowIntegerDescriptor::exponent() {
59 return MathPowTaggedDescriptor::exponent(); 64 return MathPowTaggedDescriptor::exponent();
60 } 65 }
61 66
62 67
63 const Register GrowArrayElementsDescriptor::ObjectRegister() { return rax; } 68 const Register GrowArrayElementsDescriptor::ObjectRegister() { return rax; }
64 const Register GrowArrayElementsDescriptor::KeyRegister() { return rbx; } 69 const Register GrowArrayElementsDescriptor::KeyRegister() { return rbx; }
65 70
66 71
67 void StoreTransitionDescriptor::InitializePlatformSpecific( 72 void VectorStoreTransitionDescriptor::InitializePlatformSpecific(
68 CallInterfaceDescriptorData* data) { 73 CallInterfaceDescriptorData* data) {
69 Register registers[] = {ReceiverRegister(), NameRegister(), ValueRegister(), 74 Register registers[] = {ReceiverRegister(), NameRegister(), ValueRegister(),
70 MapRegister()}; 75 SlotRegister(), VectorRegister(), MapRegister()};
71 data->InitializePlatformSpecific(arraysize(registers), registers); 76 data->InitializePlatformSpecific(arraysize(registers), registers);
72 } 77 }
73 78
74 79
75 void FastNewClosureDescriptor::InitializePlatformSpecific( 80 void FastNewClosureDescriptor::InitializePlatformSpecific(
76 CallInterfaceDescriptorData* data) { 81 CallInterfaceDescriptorData* data) {
77 Register registers[] = {rbx}; 82 Register registers[] = {rbx};
78 data->InitializePlatformSpecific(arraysize(registers), registers); 83 data->InitializePlatformSpecific(arraysize(registers), registers);
79 } 84 }
80 85
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 rdi, // math rounding function 365 rdi, // math rounding function
361 rdx, // vector slot id 366 rdx, // vector slot id
362 rbx // type vector 367 rbx // type vector
363 }; 368 };
364 data->InitializePlatformSpecific(arraysize(registers), registers); 369 data->InitializePlatformSpecific(arraysize(registers), registers);
365 } 370 }
366 } // namespace internal 371 } // namespace internal
367 } // namespace v8 372 } // namespace v8
368 373
369 #endif // V8_TARGET_ARCH_X64 374 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/mips64/interface-descriptors-mips64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698