summaryrefslogtreecommitdiff
path: root/src/binary-reader.cc
diff options
context:
space:
mode:
authorlizhengxing <unixhaha@gmail.com>2018-02-26 11:52:01 -0800
committerBen Smith <binjimin@gmail.com>2018-02-26 11:52:01 -0800
commita3f72c9a04f2eb1aca9236fcea87fc80ebf5a7eb (patch)
tree0598cc1fa651424f2671c9443edd352e18b8d6f3 /src/binary-reader.cc
parent701ca3e4208043f32cb9da23b9675a86cce2fecf (diff)
downloadwabt-a3f72c9a04f2eb1aca9236fcea87fc80ebf5a7eb.tar.gz
wabt-a3f72c9a04f2eb1aca9236fcea87fc80ebf5a7eb.tar.bz2
wabt-a3f72c9a04f2eb1aca9236fcea87fc80ebf5a7eb.zip
SIMD Comparison Less than or equal instructions implementation. (#771)
Including: i8x16.le_s, i8x16_le_u i16x8.le_s, i16x8_le_u i32x4.le_s, i32x4_le_u f32x4.le f64x2.le
Diffstat (limited to 'src/binary-reader.cc')
-rw-r--r--src/binary-reader.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/binary-reader.cc b/src/binary-reader.cc
index 0bb5187f..d8da26d5 100644
--- a/src/binary-reader.cc
+++ b/src/binary-reader.cc
@@ -912,6 +912,14 @@ Result BinaryReader::ReadFunctionBody(Offset end_offset) {
case Opcode::I32X4LtU:
case Opcode::F32X4Lt:
case Opcode::F64X2Lt:
+ case Opcode::I8X16LeS:
+ case Opcode::I8X16LeU:
+ case Opcode::I16X8LeS:
+ case Opcode::I16X8LeU:
+ case Opcode::I32X4LeS:
+ case Opcode::I32X4LeU:
+ case Opcode::F32X4Le:
+ case Opcode::F64X2Le:
ERROR_UNLESS_OPCODE_ENABLED(opcode);
CALLBACK(OnCompareExpr, opcode);
CALLBACK0(OnOpcodeBare);