diff options
author | lizhengxing <unixhaha@gmail.com> | 2018-01-18 17:29:46 -0800 |
---|---|---|
committer | Ben Smith <binjimin@gmail.com> | 2018-01-18 17:29:46 -0800 |
commit | 55639eb12eb209c671212b9252314aa5b08d34db (patch) | |
tree | a839b87911ea61040f88478fb4e507f049f6fff9 /src/binary-reader.cc | |
parent | 25140d740d55bd5c2103e4032a37a6f4ca94d4c0 (diff) | |
download | wabt-55639eb12eb209c671212b9252314aa5b08d34db.tar.gz wabt-55639eb12eb209c671212b9252314aa5b08d34db.tar.bz2 wabt-55639eb12eb209c671212b9252314aa5b08d34db.zip |
SIMD i8x16.neg / i16x8.neg / i32x4.neg / i64x2.neg implementation. (#723)
Diffstat (limited to 'src/binary-reader.cc')
-rw-r--r-- | src/binary-reader.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/binary-reader.cc b/src/binary-reader.cc index a571b090..e445ea12 100644 --- a/src/binary-reader.cc +++ b/src/binary-reader.cc @@ -901,6 +901,10 @@ Result BinaryReader::ReadFunctionBody(Offset end_offset) { case Opcode::I64X2Splat: case Opcode::F32X4Splat: case Opcode::F64X2Splat: + case Opcode::I8X16Neg: + case Opcode::I16X8Neg: + case Opcode::I32X4Neg: + case Opcode::I64X2Neg: ERROR_UNLESS_OPCODE_ENABLED(opcode); CALLBACK(OnUnaryExpr, opcode); CALLBACK0(OnOpcodeBare); |