Skip to content

Commit ebd88d6

Browse files
committed
feat: add support for i32x4.dot_i16x8_s
Ref: WebAssembly/simd#127
1 parent 51f00f5 commit ebd88d6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/WasmParser.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,7 @@ export const enum OperatorCode {
464464
i32x4_min_u = 0xfdb7,
465465
i32x4_max_s = 0xfdb8,
466466
i32x4_max_u = 0xfdb9,
467+
i32x4_dot_i16x8_s = 0xfdba,
467468
i64x2_neg = 0xfdc1,
468469
i64x2_shl = 0xfdcb,
469470
i64x2_shr_s = 0xfdcc,
@@ -968,7 +969,7 @@ export const OperatorCodeNames = [
968969
"i32x4.min_u",
969970
"i32x4.max_s",
970971
"i32x4.max_u",
971-
undefined,
972+
"i32x4.dot_i16x8_s",
972973
undefined,
973974
undefined,
974975
undefined,
@@ -2359,6 +2360,7 @@ export class BinaryReader {
23592360
case OperatorCode.i32x4_min_u:
23602361
case OperatorCode.i32x4_max_s:
23612362
case OperatorCode.i32x4_max_u:
2363+
case OperatorCode.i32x4_dot_i16x8_s:
23622364
case OperatorCode.i64x2_neg:
23632365
case OperatorCode.i64x2_shl:
23642366
case OperatorCode.i64x2_shr_s:

0 commit comments

Comments
 (0)