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

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

Issue 2692933002: Revert of Remove SIMD.js from V8. (Closed)
Patch Set: 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') | src/type-hints.h » ('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 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 CallInterfaceDescriptorData* data) { 174 CallInterfaceDescriptorData* data) {
175 Register registers[] = {r2, r3}; 175 Register registers[] = {r2, r3};
176 data->InitializePlatformSpecific(arraysize(registers), registers); 176 data->InitializePlatformSpecific(arraysize(registers), registers);
177 } 177 }
178 178
179 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( 179 void AllocateHeapNumberDescriptor::InitializePlatformSpecific(
180 CallInterfaceDescriptorData* data) { 180 CallInterfaceDescriptorData* data) {
181 data->InitializePlatformSpecific(0, nullptr, nullptr); 181 data->InitializePlatformSpecific(0, nullptr, nullptr);
182 } 182 }
183 183
184 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \
185 void Allocate##Type##Descriptor::InitializePlatformSpecific( \
186 CallInterfaceDescriptorData* data) { \
187 data->InitializePlatformSpecific(0, nullptr, nullptr); \
188 }
189 SIMD128_TYPES(SIMD128_ALLOC_DESC)
190 #undef SIMD128_ALLOC_DESC
191
184 void ArrayConstructorDescriptor::InitializePlatformSpecific( 192 void ArrayConstructorDescriptor::InitializePlatformSpecific(
185 CallInterfaceDescriptorData* data) { 193 CallInterfaceDescriptorData* data) {
186 // kTarget, kNewTarget, kActualArgumentsCount, kAllocationSite 194 // kTarget, kNewTarget, kActualArgumentsCount, kAllocationSite
187 Register registers[] = {r3, r5, r2, r4}; 195 Register registers[] = {r3, r5, r2, r4};
188 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 196 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
189 } 197 }
190 198
191 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( 199 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific(
192 CallInterfaceDescriptorData* data) { 200 CallInterfaceDescriptorData* data) {
193 // register state 201 // register state
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 Register registers[] = { 383 Register registers[] = {
376 r3, // loaded new FP 384 r3, // loaded new FP
377 }; 385 };
378 data->InitializePlatformSpecific(arraysize(registers), registers); 386 data->InitializePlatformSpecific(arraysize(registers), registers);
379 } 387 }
380 388
381 } // namespace internal 389 } // namespace internal
382 } // namespace v8 390 } // namespace v8
383 391
384 #endif // V8_TARGET_ARCH_S390 392 #endif // V8_TARGET_ARCH_S390
OLDNEW
« no previous file with comments | « src/s390/code-stubs-s390.cc ('k') | src/type-hints.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698