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

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

Issue 1137703002: Add a MathFloor stub generated with TurboFan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix comment Created 5 years, 7 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 #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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 Representation representations[] = { 431 Representation representations[] = {
432 Representation::Tagged(), // context 432 Representation::Tagged(), // context
433 Representation::Tagged(), // callee 433 Representation::Tagged(), // callee
434 Representation::Tagged(), // call_data 434 Representation::Tagged(), // call_data
435 Representation::Tagged(), // holder 435 Representation::Tagged(), // holder
436 Representation::External(), // api_function_address 436 Representation::External(), // api_function_address
437 }; 437 };
438 data->Initialize(arraysize(registers), registers, representations, 438 data->Initialize(arraysize(registers), registers, representations,
439 &default_descriptor); 439 &default_descriptor);
440 } 440 }
441
442
443 void MathRoundVariantDescriptor::Initialize(CallInterfaceDescriptorData* data) {
444 Register registers[] = {
445 x1, // context
446 x2, // math rounding function
447 x3, // vector slot id
448 };
449 Representation representations[] = {
450 Representation::Tagged(), //
451 Representation::Tagged(), //
452 Representation::Tagged(), //
453 };
454 data->Initialize(arraysize(registers), registers, representations);
455 }
441 } 456 }
442 } // namespace v8::internal 457 } // namespace v8::internal
443 458
444 #endif // V8_TARGET_ARCH_ARM64 459 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/interface-descriptors-arm.cc ('k') | src/code-stubs.h » ('j') | src/code-stubs.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698