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

Unified Diff: src/wasm/module-decoder.cc

Issue 2009553002: Add Wasm SIMD opcodes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix shuffle/swizzle signatures Created 4 years, 7 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/module-decoder.cc
diff --git a/src/wasm/module-decoder.cc b/src/wasm/module-decoder.cc
index f7d26a5f85645835a23965d52e4cc45db8bd9f3e..06b78f845a4bdcfd8e7dda92b0983e978c541eff 100644
--- a/src/wasm/module-decoder.cc
+++ b/src/wasm/module-decoder.cc
@@ -698,6 +698,8 @@ class ModuleDecoder : public Decoder {
return MachineType::Float32();
case kMemF64:
return MachineType::Float64();
+ case kMemS128:
+ return MachineType::Simd128();
default:
error(pc_ - 1, "invalid memory type");
return MachineType::None();
« no previous file with comments | « src/wasm/ast-decoder.cc ('k') | src/wasm/wasm-opcodes.h » ('j') | src/wasm/wasm-opcodes.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698