summaryrefslogtreecommitdiff
path: root/src/binary-reader.cc
diff options
context:
space:
mode:
authorlizhengxing <unixhaha@gmail.com>2017-12-26 14:14:14 -0800
committerBen Smith <binjimin@gmail.com>2017-12-26 14:14:14 -0800
commit0325ab2170fdf7c6ec0896d3f26c175827f2b9ce (patch)
treeb0f0a01d7645c10b1eb362ec974b3ad6cbcc94cf /src/binary-reader.cc
parente59f0aaf6b404d13f9ca7b48a21475b0df662a8f (diff)
downloadwabt-0325ab2170fdf7c6ec0896d3f26c175827f2b9ce.tar.gz
wabt-0325ab2170fdf7c6ec0896d3f26c175827f2b9ce.tar.bz2
wabt-0325ab2170fdf7c6ec0896d3f26c175827f2b9ce.zip
SIMD: i16x8.splat i32x4.splat i64x2.splat f32x4.splat f64x2.splat ins… (#705)
Diffstat (limited to 'src/binary-reader.cc')
-rw-r--r--src/binary-reader.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/binary-reader.cc b/src/binary-reader.cc
index 3f84f39a..8455fd16 100644
--- a/src/binary-reader.cc
+++ b/src/binary-reader.cc
@@ -883,6 +883,11 @@ Result BinaryReader::ReadFunctionBody(Offset end_offset) {
case Opcode::F64Nearest:
case Opcode::F64Sqrt:
case Opcode::I8X16Splat:
+ case Opcode::I16X8Splat:
+ case Opcode::I32X4Splat:
+ case Opcode::I64X2Splat:
+ case Opcode::F32X4Splat:
+ case Opcode::F64X2Splat:
ERROR_UNLESS_OPCODE_ENABLED(opcode);
CALLBACK(OnUnaryExpr, opcode);
CALLBACK0(OnOpcodeBare);