Skip to content

Typo in python logic for i32x4.dot_i8x16_i7x16_add_s? #162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
kripken opened this issue Apr 18, 2025 · 1 comment
Open

Typo in python logic for i32x4.dot_i8x16_i7x16_add_s? #162

kripken opened this issue Apr 18, 2025 · 1 comment

Comments

@kripken
Copy link
Member

kripken commented Apr 18, 2025

The loop before last there says

  for i in range(0, 8, 2):
    dst[i/4] = tmp[i] + tmp[i+1]

That means it operates on dst[0], dst[0.5], dst[1], dst[1.5]. Should the i/4 be i/2 perhaps?

I tried to compare this to the spec, but See the modified spec for details on the readme has a broken link. And I can't seem to find this relaxed SIMD instruction in the published current wasm spec (was it merged?)

@tlively
Copy link
Member

tlively commented Apr 18, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants