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

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

Issue 1706053002: Add Simd128Value code stubs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: All types on all platforms. Created 4 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
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_X87 5 #if V8_TARGET_ARCH_X87
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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 256 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
257 } 257 }
258 258
259 259
260 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( 260 void AllocateHeapNumberDescriptor::InitializePlatformSpecific(
261 CallInterfaceDescriptorData* data) { 261 CallInterfaceDescriptorData* data) {
262 // register state 262 // register state
263 data->InitializePlatformSpecific(0, nullptr, nullptr); 263 data->InitializePlatformSpecific(0, nullptr, nullptr);
264 } 264 }
265 265
266 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \
267 void Allocate##Type##Descriptor::InitializePlatformSpecific( \
268 CallInterfaceDescriptorData* data) { \
269 data->InitializePlatformSpecific(0, nullptr, nullptr); \
270 }
271 SIMD128_TYPES(SIMD128_ALLOC_DESC)
272 #undef SIMD128_ALLOC_DESC
266 273
267 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific( 274 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific(
268 CallInterfaceDescriptorData* data) { 275 CallInterfaceDescriptorData* data) {
269 Register registers[] = {eax}; 276 Register registers[] = {eax};
270 data->InitializePlatformSpecific(arraysize(registers), registers); 277 data->InitializePlatformSpecific(arraysize(registers), registers);
271 } 278 }
272 279
273 280
274 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( 281 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific(
275 CallInterfaceDescriptorData* data) { 282 CallInterfaceDescriptorData* data) {
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 ecx, // address of first argument (argv) 456 ecx, // address of first argument (argv)
450 ebx // the runtime function to call 457 ebx // the runtime function to call
451 }; 458 };
452 data->InitializePlatformSpecific(arraysize(registers), registers); 459 data->InitializePlatformSpecific(arraysize(registers), registers);
453 } 460 }
454 461
455 } // namespace internal 462 } // namespace internal
456 } // namespace v8 463 } // namespace v8
457 464
458 #endif // V8_TARGET_ARCH_X87 465 #endif // V8_TARGET_ARCH_X87
OLDNEW
« src/code-stubs-hydrogen.cc ('K') | « src/x64/interface-descriptors-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698