diff options
author | lizhengxing <unixhaha@gmail.com> | 2018-02-28 11:23:46 -0800 |
---|---|---|
committer | Ben Smith <binjimin@gmail.com> | 2018-02-28 11:23:46 -0800 |
commit | 3c356d1291b2896c544cef12e94eefad885ad4a9 (patch) | |
tree | 512a9b1d4e82949c808479cc8e56be04f017d151 /src/binary-reader.cc | |
parent | 6851084ddbe7d592020bedd5f5cec18f04fc897c (diff) | |
download | wabt-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.cc | 2 |
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); |