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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: src/arm64/interface-descriptors-arm64.cc
diff --git a/src/arm64/interface-descriptors-arm64.cc b/src/arm64/interface-descriptors-arm64.cc
index 7dff69c85a07c6e34af8c2f8b258738655c33310..59ea5d422d61686cbe187ccd896b442d6f78eff2 100644
--- a/src/arm64/interface-descriptors-arm64.cc
+++ b/src/arm64/interface-descriptors-arm64.cc
@@ -438,6 +438,21 @@ void ApiAccessorDescriptor::Initialize(CallInterfaceDescriptorData* data) {
data->Initialize(arraysize(registers), registers, representations,
&default_descriptor);
}
+
+
+void MathRoundVariantDescriptor::Initialize(CallInterfaceDescriptorData* data) {
+ Register registers[] = {
+ x1, // context
+ x2, // math rounding function
+ x3, // vector slot id
+ };
+ Representation representations[] = {
+ Representation::Tagged(), //
+ Representation::Tagged(), //
+ Representation::Tagged(), //
+ };
+ data->Initialize(arraysize(registers), registers, representations);
+}
}
} // namespace v8::internal
« 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