Skip to content

Commit 2d63360

Browse files
authored
Remove unsigned dot product from overview (#73)
1 parent 1a303a5 commit 2d63360

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

proposals/relaxed-simd/Overview.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,7 @@ def q15mulr(a, b):
251251
### Relaxed integer dot product
252252

253253
- `i16x8.dot_i8x16_i7x16_s(a: v128, b: v128) -> v128`
254-
- `i16x8.dot_i8x16_i7x16_u(a: v128, b: v128) -> v128`
255254
- `i32x4.dot_i8x16_i7x16_add_s(a: v128, b:v128, c:v128) -> v128`
256-
- `i32x4.dot_i8x16_i7x16_add_u(a: v128, b:v128, c:v128) -> v128`
257255

258256
Returns the multiplication of 8-bit elements (signed or unsigned) by 7-bit
259257
elements (unsigned) with accumulation of adjacent products. The `i32x4` versions
@@ -278,9 +276,7 @@ def dot_product(signed, elements, a, b, c):
278276
result[i/elements] += c[i/elements] if c else 0
279277

280278
i16x8_dot_i8x16_i7x16_s(a, b) = dot_product(signed=True, elements=2, a, b)
281-
i16x8_dot_i8x16_i7x16_u(a, b) = dot_product(signed=False, elements=2, a, b)
282-
i32x4.dot_i8x16_i7x16_add_s(a, b, c) = dot_product(signed=True, elements=4, a, b, c)
283-
i32x4.dot_i8x16_i7x16_add_s(a, b, c) = dot_product(signed=False, elements=4, a, b, c)
279+
i32x4.dot_i8x16_i7x16_add_s(a, b, c) = dot_product(signed=False, elements=2, a, b, c)
284280
```
285281

286282

@@ -315,11 +311,9 @@ forward, the opcodes for relaxed-simd specification will be the ones in the
315311
| `f64x2.relaxed_max` | 0x110 | 0xee |
316312
| `i16x8.relaxed_q15mulr_s` | 0x111 | unimplemented |
317313
| `i16x8.dot_i8x16_i7x16_s` | 0x112 | unimplemented |
318-
| `i16x8.dot_i8x16_i7x16_u` | 0x113 | unimplemented |
319-
| `i32x4.dot_i8x16_i7x16_add_s` | 0x114 | unimplemented |
320-
| `i32x4.dot_i8x16_i7x16_add_u` | 0x115 | unimplemented |
321-
| Reserved for bfloat16 | 0x116 | unimplemented |
322-
| Reserved | 0x117 - 0x12F | |
314+
| `i32x4.dot_i8x16_i7x16_add_s` | 0x113 | unimplemented |
315+
| Reserved for bfloat16 | 0x114 | unimplemented |
316+
| Reserved | 0x115 - 0x12F | |
323317

324318
## References
325319

0 commit comments

Comments
 (0)