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

Unified Diff: src/wasm/wasm-external-refs.h

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/external-reference-table.cc ('k') | src/wasm/wasm-external-refs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/wasm/wasm-external-refs.h
diff --git a/src/wasm/wasm-external-refs.h b/src/wasm/wasm-external-refs.h
index d7752aa24d96bcce6674e68df30ea79df94db408..ac938d6d67d9147d9ae36a54fbf8009f843b984a 100644
--- a/src/wasm/wasm-external-refs.h
+++ b/src/wasm/wasm-external-refs.h
@@ -50,8 +50,15 @@ int32_t int64_mod_wrapper(int64_t* dst, int64_t* src);
int32_t uint64_div_wrapper(uint64_t* dst, uint64_t* src);
int32_t uint64_mod_wrapper(uint64_t* dst, uint64_t* src);
+
+uint32_t word32_ctz_wrapper(uint32_t* input);
+
+uint32_t word64_ctz_wrapper(uint64_t* input);
+
+uint32_t word32_popcnt_wrapper(uint32_t* input);
+
+uint32_t word64_popcnt_wrapper(uint64_t* input);
} // namespace wasm
} // namespace internal
} // namespace v8
-
#endif
« no previous file with comments | « src/external-reference-table.cc ('k') | src/wasm/wasm-external-refs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698