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

Unified Diff: src/snapshot/serialize.cc

Issue 1661463002: [wasm] Provide backoff implementations for the Fxx rounding instructions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@trunc64-external-reference
Patch Set: rebase. Created 4 years, 11 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
« no previous file with comments | « src/compiler/wasm-compiler.cc ('k') | test/cctest/compiler/codegen-tester.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/snapshot/serialize.cc
diff --git a/src/snapshot/serialize.cc b/src/snapshot/serialize.cc
index 2820d34ac442db52af5f147cb0279702131f3910..ffc8b7880922d3391bf871ad780b465cfcb0aab8 100644
--- a/src/snapshot/serialize.cc
+++ b/src/snapshot/serialize.cc
@@ -119,8 +119,22 @@ ExternalReferenceTable::ExternalReferenceTable(Isolate* isolate) {
"InvokeFunctionCallback");
Add(ExternalReference::invoke_accessor_getter_callback(isolate).address(),
"InvokeAccessorGetterCallback");
- Add(ExternalReference::trunc64_wrapper_function(isolate).address(),
- "trunc64_wrapper");
+ Add(ExternalReference::f32_trunc_wrapper_function(isolate).address(),
+ "f32_trunc_wrapper");
+ Add(ExternalReference::f32_floor_wrapper_function(isolate).address(),
+ "f32_floor_wrapper");
+ Add(ExternalReference::f32_ceil_wrapper_function(isolate).address(),
+ "f32_ceil_wrapper");
+ Add(ExternalReference::f32_nearest_int_wrapper_function(isolate).address(),
+ "f32_nearest_int_wrapper");
+ Add(ExternalReference::f64_trunc_wrapper_function(isolate).address(),
+ "f64_trunc_wrapper");
+ Add(ExternalReference::f64_floor_wrapper_function(isolate).address(),
+ "f64_floor_wrapper");
+ Add(ExternalReference::f64_ceil_wrapper_function(isolate).address(),
+ "f64_ceil_wrapper");
+ Add(ExternalReference::f64_nearest_int_wrapper_function(isolate).address(),
+ "f64_nearest_int_wrapper");
Add(ExternalReference::log_enter_external_function(isolate).address(),
"Logger::EnterExternal");
Add(ExternalReference::log_leave_external_function(isolate).address(),
« no previous file with comments | « src/compiler/wasm-compiler.cc ('k') | test/cctest/compiler/codegen-tester.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698