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

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

Issue 2670003003: PPC/s390: [stubs] Also port the CallICStub to CSA. (Closed)
Patch Set: fix mov instr Created 3 years, 10 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/s390/code-stubs-s390.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_S390 5 #if V8_TARGET_ARCH_S390
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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 } 200 }
201 201
202 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ 202 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \
203 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ 203 void Allocate##Type##Descriptor::InitializePlatformSpecific( \
204 CallInterfaceDescriptorData* data) { \ 204 CallInterfaceDescriptorData* data) { \
205 data->InitializePlatformSpecific(0, nullptr, nullptr); \ 205 data->InitializePlatformSpecific(0, nullptr, nullptr); \
206 } 206 }
207 SIMD128_TYPES(SIMD128_ALLOC_DESC) 207 SIMD128_TYPES(SIMD128_ALLOC_DESC)
208 #undef SIMD128_ALLOC_DESC 208 #undef SIMD128_ALLOC_DESC
209 209
210 void ArrayConstructorDescriptor::InitializePlatformSpecific(
211 CallInterfaceDescriptorData* data) {
212 // kTarget, kNewTarget, kActualArgumentsCount, kAllocationSite
213 Register registers[] = {r3, r5, r2, r4};
214 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
215 }
216
210 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( 217 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific(
211 CallInterfaceDescriptorData* data) { 218 CallInterfaceDescriptorData* data) {
212 // register state 219 // register state
213 // r2 -- number of arguments 220 // r2 -- number of arguments
214 // r3 -- function 221 // r3 -- function
215 // r4 -- allocation site with elements kind 222 // r4 -- allocation site with elements kind
216 Register registers[] = {r3, r4, r2}; 223 Register registers[] = {r3, r4, r2};
217 data->InitializePlatformSpecific(arraysize(registers), registers); 224 data->InitializePlatformSpecific(arraysize(registers), registers);
218 } 225 }
219 226
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 Register registers[] = { 401 Register registers[] = {
395 r3, // loaded new FP 402 r3, // loaded new FP
396 }; 403 };
397 data->InitializePlatformSpecific(arraysize(registers), registers); 404 data->InitializePlatformSpecific(arraysize(registers), registers);
398 } 405 }
399 406
400 } // namespace internal 407 } // namespace internal
401 } // namespace v8 408 } // namespace v8
402 409
403 #endif // V8_TARGET_ARCH_S390 410 #endif // V8_TARGET_ARCH_S390
OLDNEW
« no previous file with comments | « src/s390/code-stubs-s390.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698