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

Unified Diff: src/wasm/wasm-opcodes.cc

Issue 2801183002: [WASM SIMD] Implement primitive shuffles. (Closed)
Patch Set: Fix ARM release build. Created 3 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
Index: src/wasm/wasm-opcodes.cc
diff --git a/src/wasm/wasm-opcodes.cc b/src/wasm/wasm-opcodes.cc
index 57b6949b873431488aa8a25b6683ba61ecbd6c2b..a73690d204c166822d580ff626c206ff175250e4 100644
--- a/src/wasm/wasm-opcodes.cc
+++ b/src/wasm/wasm-opcodes.cc
@@ -211,15 +211,35 @@ const char* WasmOpcodes::OpcodeName(WasmOpcode opcode) {
CASE_S128_OP(Or, "or")
CASE_S128_OP(Xor, "xor")
CASE_S128_OP(Not, "not")
+ CASE_S32x4_OP(ZipLeft, "zip left")
+ CASE_S32x4_OP(ZipRight, "zip right")
+ CASE_S32x4_OP(UnzipLeft, "unzip left")
+ CASE_S32x4_OP(UnzipRight, "unzip right")
+ CASE_S32x4_OP(TransposeLeft, "transpose left")
+ CASE_S32x4_OP(TransposeRight, "transpose right")
CASE_S32x4_OP(Select, "select")
- CASE_S32x4_OP(Swizzle, "swizzle")
- CASE_S32x4_OP(Shuffle, "shuffle")
+ CASE_S16x8_OP(ZipLeft, "zip left")
+ CASE_S16x8_OP(ZipRight, "zip right")
+ CASE_S16x8_OP(UnzipLeft, "unzip left")
+ CASE_S16x8_OP(UnzipRight, "unzip right")
+ CASE_S16x8_OP(TransposeLeft, "transpose left")
+ CASE_S16x8_OP(TransposeRight, "transpose right")
CASE_S16x8_OP(Select, "select")
- CASE_S16x8_OP(Swizzle, "swizzle")
- CASE_S16x8_OP(Shuffle, "shuffle")
+ CASE_S8x16_OP(ZipLeft, "zip left")
+ CASE_S8x16_OP(ZipRight, "zip right")
+ CASE_S8x16_OP(UnzipLeft, "unzip left")
+ CASE_S8x16_OP(UnzipRight, "unzip right")
+ CASE_S8x16_OP(TransposeLeft, "transpose left")
+ CASE_S8x16_OP(TransposeRight, "transpose right")
CASE_S8x16_OP(Select, "select")
- CASE_S8x16_OP(Swizzle, "swizzle")
- CASE_S8x16_OP(Shuffle, "shuffle")
+ CASE_S8x16_OP(Concat, "concat")
+ CASE_OP(S64x2Reverse, "64x2 reverse")
+ CASE_OP(S32x2Reverse, "32x2 reverse")
+ CASE_OP(S16x4Reverse, "16x4 reverse")
+ CASE_OP(S16x2Reverse, "16x2 reverse")
+ CASE_OP(S8x8Reverse, "8x8 reverse")
+ CASE_OP(S8x4Reverse, "8x4 reverse")
+ CASE_OP(S8x2Reverse, "8x2 reverse")
CASE_S1x4_OP(And, "and")
CASE_S1x4_OP(Or, "or")
CASE_S1x4_OP(Xor, "xor")

Powered by Google App Engine
This is Rietveld 408576698