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

Unified Diff: src/compiler/typer.cc

Issue 2045943002: [compiler] [wasm] Introduce Word32/64ReverseBytes as TF Optional Opcode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Use ByteReverse in simulator Created 4 years, 5 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/compiler/typer.cc
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc
index 1e8d64af0e7d3bced34115b23b4c4f11fa2e8821..27cce145cbd3179beec3d821bfc15adfe402d251 100644
--- a/src/compiler/typer.cc
+++ b/src/compiler/typer.cc
@@ -1966,6 +1966,13 @@ Type* Typer::Visitor::TypeWord32ReverseBits(Node* node) {
return Type::Integral32();
}
+Type* Typer::Visitor::TypeWord16ReverseBytes(Node* node) {
+ return Type::Integral32();
+}
+
+Type* Typer::Visitor::TypeWord32ReverseBytes(Node* node) {
+ return Type::Integral32();
+}
Type* Typer::Visitor::TypeWord32Popcnt(Node* node) {
return Type::Integral32();
@@ -2003,6 +2010,9 @@ Type* Typer::Visitor::TypeWord64ReverseBits(Node* node) {
return Type::Internal();
}
+Type* Typer::Visitor::TypeWord64ReverseBytes(Node* node) {
+ return Type::Internal();
+}
Type* Typer::Visitor::TypeWord64Popcnt(Node* node) { return Type::Internal(); }

Powered by Google App Engine
This is Rietveld 408576698