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

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

Issue 2695653005: 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/x87/code-stubs-x87.cc ('k') | test/BUILD.gn » ('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 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 202 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
203 } 203 }
204 204
205 205
206 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( 206 void AllocateHeapNumberDescriptor::InitializePlatformSpecific(
207 CallInterfaceDescriptorData* data) { 207 CallInterfaceDescriptorData* data) {
208 // register state 208 // register state
209 data->InitializePlatformSpecific(0, nullptr, nullptr); 209 data->InitializePlatformSpecific(0, nullptr, nullptr);
210 } 210 }
211 211
212 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \
213 void Allocate##Type##Descriptor::InitializePlatformSpecific( \
214 CallInterfaceDescriptorData* data) { \
215 data->InitializePlatformSpecific(0, nullptr, nullptr); \
216 }
217 SIMD128_TYPES(SIMD128_ALLOC_DESC)
218 #undef SIMD128_ALLOC_DESC
219
212 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( 220 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific(
213 CallInterfaceDescriptorData* data) { 221 CallInterfaceDescriptorData* data) {
214 // register state 222 // register state
215 // eax -- number of arguments 223 // eax -- number of arguments
216 // edi -- function 224 // edi -- function
217 // ebx -- allocation site with elements kind 225 // ebx -- allocation site with elements kind
218 Register registers[] = {edi, ebx, eax}; 226 Register registers[] = {edi, ebx, eax};
219 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 227 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
220 } 228 }
221 229
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 ebx, // the JSGeneratorObject to resume 405 ebx, // the JSGeneratorObject to resume
398 edx // the resume mode (tagged) 406 edx // the resume mode (tagged)
399 }; 407 };
400 data->InitializePlatformSpecific(arraysize(registers), registers); 408 data->InitializePlatformSpecific(arraysize(registers), registers);
401 } 409 }
402 410
403 } // namespace internal 411 } // namespace internal
404 } // namespace v8 412 } // namespace v8
405 413
406 #endif // V8_TARGET_ARCH_X87 414 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x87/code-stubs-x87.cc ('k') | test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698