summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-binary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm/wasm-binary.cpp')
-rw-r--r--src/wasm/wasm-binary.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/wasm/wasm-binary.cpp b/src/wasm/wasm-binary.cpp
index cb9ea3731..3bb33529b 100644
--- a/src/wasm/wasm-binary.cpp
+++ b/src/wasm/wasm-binary.cpp
@@ -6522,6 +6522,22 @@ bool WasmBinaryReader::maybeVisitSIMDUnary(Expression*& out, uint32_t code) {
curr = allocator.alloc<Unary>();
curr->op = RelaxedTruncZeroUVecF64x2ToVecI32x4;
break;
+ case BinaryConsts::I16x8TruncSatF16x8S:
+ curr = allocator.alloc<Unary>();
+ curr->op = TruncSatSVecF16x8ToVecI16x8;
+ break;
+ case BinaryConsts::I16x8TruncSatF16x8U:
+ curr = allocator.alloc<Unary>();
+ curr->op = TruncSatUVecF16x8ToVecI16x8;
+ break;
+ case BinaryConsts::F16x8ConvertI16x8S:
+ curr = allocator.alloc<Unary>();
+ curr->op = ConvertSVecI16x8ToVecF16x8;
+ break;
+ case BinaryConsts::F16x8ConvertI16x8U:
+ curr = allocator.alloc<Unary>();
+ curr->op = ConvertUVecI16x8ToVecF16x8;
+ break;
default:
return false;
}