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

Side by Side Diff: src/x64/interface-descriptors-x64.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/x64/code-stubs-x64.cc ('k') | src/x87/code-stubs-x87.cc » ('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_X64 5 #if V8_TARGET_ARCH_X64
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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 Register registers[] = {rax, rbx}; 188 Register registers[] = {rax, rbx};
189 data->InitializePlatformSpecific(arraysize(registers), registers); 189 data->InitializePlatformSpecific(arraysize(registers), registers);
190 } 190 }
191 191
192 192
193 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( 193 void AllocateHeapNumberDescriptor::InitializePlatformSpecific(
194 CallInterfaceDescriptorData* data) { 194 CallInterfaceDescriptorData* data) {
195 data->InitializePlatformSpecific(0, nullptr, nullptr); 195 data->InitializePlatformSpecific(0, nullptr, nullptr);
196 } 196 }
197 197
198 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \
199 void Allocate##Type##Descriptor::InitializePlatformSpecific( \
200 CallInterfaceDescriptorData* data) { \
201 data->InitializePlatformSpecific(0, nullptr, nullptr); \
202 }
203 SIMD128_TYPES(SIMD128_ALLOC_DESC)
204 #undef SIMD128_ALLOC_DESC
205
198 void ArrayConstructorDescriptor::InitializePlatformSpecific( 206 void ArrayConstructorDescriptor::InitializePlatformSpecific(
199 CallInterfaceDescriptorData* data) { 207 CallInterfaceDescriptorData* data) {
200 // kTarget, kNewTarget, kActualArgumentsCount, kAllocationSite 208 // kTarget, kNewTarget, kActualArgumentsCount, kAllocationSite
201 Register registers[] = {rdi, rdx, rax, rbx}; 209 Register registers[] = {rdi, rdx, rax, rbx};
202 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); 210 data->InitializePlatformSpecific(arraysize(registers), registers, NULL);
203 } 211 }
204 212
205 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( 213 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific(
206 CallInterfaceDescriptorData* data) { 214 CallInterfaceDescriptorData* data) {
207 // register state 215 // register state
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 Register registers[] = { 406 Register registers[] = {
399 rbx, // loaded new FP 407 rbx, // loaded new FP
400 }; 408 };
401 data->InitializePlatformSpecific(arraysize(registers), registers); 409 data->InitializePlatformSpecific(arraysize(registers), registers);
402 } 410 }
403 411
404 } // namespace internal 412 } // namespace internal
405 } // namespace v8 413 } // namespace v8
406 414
407 #endif // V8_TARGET_ARCH_X64 415 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | src/x87/code-stubs-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698