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

Side by Side Diff: src/ia32/interface-descriptors-ia32.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_IA32 5 #if V8_TARGET_ARCH_IA32
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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 260 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
261 } 261 }
262 262
263 263
264 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( 264 void AllocateHeapNumberDescriptor::InitializePlatformSpecific(
265 CallInterfaceDescriptorData* data) { 265 CallInterfaceDescriptorData* data) {
266 // register state 266 // register state
267 data->InitializePlatformSpecific(0, nullptr, nullptr); 267 data->InitializePlatformSpecific(0, nullptr, nullptr);
268 } 268 }
269 269
270 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \
271 void Allocate##Type##Descriptor::InitializePlatformSpecific( \
272 CallInterfaceDescriptorData* data) { \
273 data->InitializePlatformSpecific(0, nullptr, nullptr); \
274 }
275 SIMD128_TYPES(SIMD128_ALLOC_DESC)
276 #undef SIMD128_ALLOC_DESC
270 277
271 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific( 278 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific(
272 CallInterfaceDescriptorData* data) { 279 CallInterfaceDescriptorData* data) {
273 Register registers[] = {eax}; 280 Register registers[] = {eax};
274 data->InitializePlatformSpecific(arraysize(registers), registers); 281 data->InitializePlatformSpecific(arraysize(registers), registers);
275 } 282 }
276 283
277 284
278 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( 285 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific(
279 CallInterfaceDescriptorData* data) { 286 CallInterfaceDescriptorData* data) {
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 ecx, // address of first argument (argv) 460 ecx, // address of first argument (argv)
454 ebx // the runtime function to call 461 ebx // the runtime function to call
455 }; 462 };
456 data->InitializePlatformSpecific(arraysize(registers), registers); 463 data->InitializePlatformSpecific(arraysize(registers), registers);
457 } 464 }
458 465
459 } // namespace internal 466 } // namespace internal
460 } // namespace v8 467 } // namespace v8
461 468
462 #endif // V8_TARGET_ARCH_IA32 469 #endif // V8_TARGET_ARCH_IA32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698