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

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

Issue 1225943002: Reland: Add unoptimized/optimized variants of MathFloor TF code stub (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix nosnap bug Created 5 years, 5 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/arm/interface-descriptors-arm.cc ('k') | src/code-stubs.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 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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 x0, // callee 382 x0, // callee
383 x4, // call_data 383 x4, // call_data
384 x2, // holder 384 x2, // holder
385 x1, // api_function_address 385 x1, // api_function_address
386 }; 386 };
387 data->InitializePlatformSpecific(arraysize(registers), registers, 387 data->InitializePlatformSpecific(arraysize(registers), registers,
388 &default_descriptor); 388 &default_descriptor);
389 } 389 }
390 390
391 391
392 void MathRoundVariantDescriptor::InitializePlatformSpecific( 392 void MathRoundVariantCallFromUnoptimizedCodeDescriptor::
393 CallInterfaceDescriptorData* data) { 393 InitializePlatformSpecific(CallInterfaceDescriptorData* data) {
394 Register registers[] = { 394 Register registers[] = {
395 x1, // math rounding function 395 x1, // math rounding function
396 x3, // vector slot id 396 x3, // vector slot id
397 }; 397 };
398 data->InitializePlatformSpecific(arraysize(registers), registers); 398 data->InitializePlatformSpecific(arraysize(registers), registers);
399 } 399 }
400
401
402 void MathRoundVariantCallFromOptimizedCodeDescriptor::
403 InitializePlatformSpecific(CallInterfaceDescriptorData* data) {
404 Register registers[] = {
405 x1, // math rounding function
406 x3, // vector slot id
407 x4, // type vector
408 };
409 data->InitializePlatformSpecific(arraysize(registers), registers);
410 }
400 } // namespace internal 411 } // namespace internal
401 } // namespace v8 412 } // namespace v8
402 413
403 #endif // V8_TARGET_ARCH_ARM64 414 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/interface-descriptors-arm.cc ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698