Skip to content

Commit d764b2e

Browse files
committed
Check i32x4.relaxed_dot_i8x16_i7x16_add_s exactly
1 parent 3d734f3 commit d764b2e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

js/web/lib/wasm/wasm-factory.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,15 @@ const isRelaxedSimdSupported = (): boolean => {
7676
// i8x16.splat
7777
// i32.const 2
7878
// i8x16.splat
79-
// i8x16.relaxed_swizzle
79+
// i32.const 3
80+
// i8x16.splat
81+
// i32x4.relaxed_dot_i8x16_i7x16_add_s
8082
// )
8183
// )
8284
return WebAssembly.validate(
8385
new Uint8Array([
84-
0, 97, 115, 109, 1, 0, 0, 0, 1, 5, 1, 96, 0, 1, 123, 3, 2, 1, 0, 10, 15, 1, 13, 0, 65, 1, 253, 15, 65, 2, 253,
85-
15, 253, 128, 2, 11,
86+
0, 97, 115, 109, 1, 0, 0, 0, 1, 5, 1, 96, 0, 1, 123, 3, 2, 1, 0, 10, 19, 1, 17, 0, 65, 1, 253, 15, 65, 2, 253,
87+
15, 65, 3, 253, 15, 253, 147, 2, 11,
8688
]),
8789
);
8890
} catch (e) {

0 commit comments

Comments
 (0)