Skip to content

Commit

Permalink
feat: add support for i32x4.dot_i16x8_s
Browse files Browse the repository at this point in the history
  • Loading branch information
bmeurer committed Oct 24, 2020
1 parent adea187 commit afe3f1e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/WasmParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@ export const enum OperatorCode {
i32x4_min_u = 0xfdb7,
i32x4_max_s = 0xfdb8,
i32x4_max_u = 0xfdb9,
i32x4_dot_i16x8_s = 0xfdba,
i64x2_neg = 0xfdc1,
i64x2_shl = 0xfdcb,
i64x2_shr_s = 0xfdcc,
Expand Down Expand Up @@ -968,7 +969,7 @@ export const OperatorCodeNames = [
"i32x4.min_u",
"i32x4.max_s",
"i32x4.max_u",
undefined,
"i32x4.dot_i16x8_s",
undefined,
undefined,
undefined,
Expand Down Expand Up @@ -2359,6 +2360,7 @@ export class BinaryReader {
case OperatorCode.i32x4_min_u:
case OperatorCode.i32x4_max_s:
case OperatorCode.i32x4_max_u:
case OperatorCode.i32x4_dot_i16x8_s:
case OperatorCode.i64x2_neg:
case OperatorCode.i64x2_shl:
case OperatorCode.i64x2_shr_s:
Expand Down

0 comments on commit afe3f1e

Please sign in to comment.