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

Unified Diff: src/external-reference-table.cc

Issue 1857363003: [wasm] New implementation of popcnt and ctz. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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') | src/wasm/wasm-external-refs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/external-reference-table.cc
diff --git a/src/external-reference-table.cc b/src/external-reference-table.cc
index 29a2474b091fbbb2b00910e3c9a430659fc1eb16..8f1e1f339040951b6655ae6351074935a15377ed 100644
--- a/src/external-reference-table.cc
+++ b/src/external-reference-table.cc
@@ -134,6 +134,14 @@ ExternalReferenceTable::ExternalReferenceTable(Isolate* isolate) {
"wasm::uint64_div");
Add(ExternalReference::wasm_uint64_mod(isolate).address(),
"wasm::uint64_mod");
+ Add(ExternalReference::wasm_word32_ctz(isolate).address(),
+ "wasm::word32_ctz");
+ Add(ExternalReference::wasm_word64_ctz(isolate).address(),
+ "wasm::word64_ctz");
+ Add(ExternalReference::wasm_word32_popcnt(isolate).address(),
+ "wasm::word32_popcnt");
+ Add(ExternalReference::wasm_word64_popcnt(isolate).address(),
+ "wasm::word64_popcnt");
Add(ExternalReference::f64_acos_wrapper_function(isolate).address(),
"f64_acos_wrapper");
Add(ExternalReference::f64_asin_wrapper_function(isolate).address(),
« no previous file with comments | « src/compiler/wasm-compiler.cc ('k') | src/wasm/wasm-external-refs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698