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

Side by Side Diff: src/mips64/interface-descriptors-mips64.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/mips/interface-descriptors-mips.cc ('k') | src/x64/interface-descriptors-x64.cc » ('j') | 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_MIPS64 5 #if V8_TARGET_ARCH_MIPS64
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 a2; } 24 const Register StoreDescriptor::NameRegister() { return a2; }
25 const Register StoreDescriptor::ValueRegister() { return a0; } 25 const Register StoreDescriptor::ValueRegister() { return a0; }
26 26
27 27
28 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return a4; } 28 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return a4; }
29 29
30 30
31 const Register VectorStoreICDescriptor::VectorRegister() { return a3; } 31 const Register VectorStoreICDescriptor::VectorRegister() { return a3; }
32 32
33 33
34 const Register VectorStoreTransitionDescriptor::SlotRegister() { return a4; }
35 const Register VectorStoreTransitionDescriptor::VectorRegister() { return a3; }
36 const Register VectorStoreTransitionDescriptor::MapRegister() { return a5; }
37
38
34 const Register StoreTransitionDescriptor::MapRegister() { return a3; } 39 const Register StoreTransitionDescriptor::MapRegister() { return a3; }
35 40
36 41
37 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return a2; } 42 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return a2; }
38 43
39 44
40 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return a2; } 45 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return a2; }
41 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return a0; } 46 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return a0; }
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 a0; } 68 const Register GrowArrayElementsDescriptor::ObjectRegister() { return a0; }
64 const Register GrowArrayElementsDescriptor::KeyRegister() { return a3; } 69 const Register GrowArrayElementsDescriptor::KeyRegister() { return a3; }
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[] = {a2}; 82 Register registers[] = {a2};
78 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 83 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
79 } 84 }
80 85
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 a1, // math rounding function 365 a1, // math rounding function
361 a3, // vector slot id 366 a3, // vector slot id
362 a2, // type vector 367 a2, // 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_MIPS64 374 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/interface-descriptors-mips.cc ('k') | src/x64/interface-descriptors-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698