diff options
author | lizhengxing <unixhaha@gmail.com> | 2018-02-23 11:48:06 -0800 |
---|---|---|
committer | Ben Smith <binjimin@gmail.com> | 2018-02-23 11:48:06 -0800 |
commit | 701ca3e4208043f32cb9da23b9675a86cce2fecf (patch) | |
tree | 9e658f3ae5fecd6c105c5bd540a2938c1e2f7da6 /src/binary-reader.cc | |
parent | 2747d60ba4d2e72aa9da2a5ae76b2527afe86ca6 (diff) | |
download | wabt-701ca3e4208043f32cb9da23b9675a86cce2fecf.tar.gz wabt-701ca3e4208043f32cb9da23b9675a86cce2fecf.tar.bz2 wabt-701ca3e4208043f32cb9da23b9675a86cce2fecf.zip |
SIMD Comparison Less than instructions implementation. (#770)
Including:
i8x16.lt_s, i8x16_lt_u
i16x8.lt_s, i16x8_lt_u
i32x4.lt_s, i32x4_lt_u
f32x4.lt
f64x2.lt
Diffstat (limited to 'src/binary-reader.cc')
-rw-r--r-- | src/binary-reader.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/binary-reader.cc b/src/binary-reader.cc index fccf183b..0bb5187f 100644 --- a/src/binary-reader.cc +++ b/src/binary-reader.cc @@ -904,6 +904,14 @@ Result BinaryReader::ReadFunctionBody(Offset end_offset) { case Opcode::I32X4Ne: case Opcode::F32X4Ne: case Opcode::F64X2Ne: + case Opcode::I8X16LtS: + case Opcode::I8X16LtU: + case Opcode::I16X8LtS: + case Opcode::I16X8LtU: + case Opcode::I32X4LtS: + case Opcode::I32X4LtU: + case Opcode::F32X4Lt: + case Opcode::F64X2Lt: ERROR_UNLESS_OPCODE_ENABLED(opcode); CALLBACK(OnCompareExpr, opcode); CALLBACK0(OnOpcodeBare); |