summaryrefslogtreecommitdiff
path: root/src/binary-reader.cc
diff options
context:
space:
mode:
authorlizhengxing <unixhaha@gmail.com>2018-02-28 11:23:46 -0800
committerBen Smith <binjimin@gmail.com>2018-02-28 11:23:46 -0800
commit3c356d1291b2896c544cef12e94eefad885ad4a9 (patch)
tree512a9b1d4e82949c808479cc8e56be04f017d151 /src/binary-reader.cc
parent6851084ddbe7d592020bedd5f5cec18f04fc897c (diff)
downloadwabt-3c356d1291b2896c544cef12e94eefad885ad4a9.tar.gz
wabt-3c356d1291b2896c544cef12e94eefad885ad4a9.tar.bz2
wabt-3c356d1291b2896c544cef12e94eefad885ad4a9.zip
SIMD (f32x4/f64x2).neg implementation. (#779)
Diffstat (limited to 'src/binary-reader.cc')
-rw-r--r--src/binary-reader.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/binary-reader.cc b/src/binary-reader.cc
index d0586489..3bd92c7c 100644
--- a/src/binary-reader.cc
+++ b/src/binary-reader.cc
@@ -980,6 +980,8 @@ Result BinaryReader::ReadFunctionBody(Offset end_offset) {
case Opcode::I16X8AllTrue:
case Opcode::I32X4AllTrue:
case Opcode::I64X2AllTrue:
+ case Opcode::F32X4Neg:
+ case Opcode::F64X2Neg:
ERROR_UNLESS_OPCODE_ENABLED(opcode);
CALLBACK(OnUnaryExpr, opcode);
CALLBACK0(OnOpcodeBare);