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

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

Issue 2684313003: Remove SIMD.js from V8. (Closed)
Patch Set: Rebase. 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
192 void ArrayConstructorDescriptor::InitializePlatformSpecific( 184 void ArrayConstructorDescriptor::InitializePlatformSpecific(
193 CallInterfaceDescriptorData* data) { 185 CallInterfaceDescriptorData* data) {
194 // kTarget, kNewTarget, kActualArgumentsCount, kAllocationSite 186 // kTarget, kNewTarget, kActualArgumentsCount, kAllocationSite
195 Register registers[] = {r3, r5, r2, r4}; 187 Register registers[] = {r3, r5, r2, r4};
196 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 188 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
197 } 189 }
198 190
199 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( 191 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific(
200 CallInterfaceDescriptorData* data) { 192 CallInterfaceDescriptorData* data) {
201 // register state 193 // register state
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 Register registers[] = { 375 Register registers[] = {
384 r3, // loaded new FP 376 r3, // loaded new FP
385 }; 377 };
386 data->InitializePlatformSpecific(arraysize(registers), registers); 378 data->InitializePlatformSpecific(arraysize(registers), registers);
387 } 379 }
388 380
389 } // namespace internal 381 } // namespace internal
390 } // namespace v8 382 } // namespace v8
391 383
392 #endif // V8_TARGET_ARCH_S390 384 #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