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

Side by Side Diff: src/ppc/interface-descriptors-ppc.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/ppc/code-stubs-ppc.cc ('k') | src/s390/code-stubs-s390.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_PPC 5 #if V8_TARGET_ARCH_PPC
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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 } 214 }
215 215
216 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ 216 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \
217 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ 217 void Allocate##Type##Descriptor::InitializePlatformSpecific( \
218 CallInterfaceDescriptorData* data) { \ 218 CallInterfaceDescriptorData* data) { \
219 data->InitializePlatformSpecific(0, nullptr, nullptr); \ 219 data->InitializePlatformSpecific(0, nullptr, nullptr); \
220 } 220 }
221 SIMD128_TYPES(SIMD128_ALLOC_DESC) 221 SIMD128_TYPES(SIMD128_ALLOC_DESC)
222 #undef SIMD128_ALLOC_DESC 222 #undef SIMD128_ALLOC_DESC
223 223
224 void ArrayConstructorDescriptor::InitializePlatformSpecific(
225 CallInterfaceDescriptorData* data) {
226 // kTarget, kNewTarget, kActualArgumentsCount, kAllocationSite
227 Register registers[] = {r4, r6, r3, r5};
228 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
229 }
230
224 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( 231 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific(
225 CallInterfaceDescriptorData* data) { 232 CallInterfaceDescriptorData* data) {
226 // register state 233 // register state
227 // r3 -- number of arguments 234 // r3 -- number of arguments
228 // r4 -- function 235 // r4 -- function
229 // r5 -- allocation site with elements kind 236 // r5 -- allocation site with elements kind
230 Register registers[] = {r4, r5, r3}; 237 Register registers[] = {r4, r5, r3};
231 data->InitializePlatformSpecific(arraysize(registers), registers); 238 data->InitializePlatformSpecific(arraysize(registers), registers);
232 } 239 }
233 240
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 Register registers[] = { 423 Register registers[] = {
417 r4, // loaded new FP 424 r4, // loaded new FP
418 }; 425 };
419 data->InitializePlatformSpecific(arraysize(registers), registers); 426 data->InitializePlatformSpecific(arraysize(registers), registers);
420 } 427 }
421 428
422 } // namespace internal 429 } // namespace internal
423 } // namespace v8 430 } // namespace v8
424 431
425 #endif // V8_TARGET_ARCH_PPC 432 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/ppc/code-stubs-ppc.cc ('k') | src/s390/code-stubs-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698