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
Update relaxed simd instructions #766
Update relaxed simd instructions #766
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this!
Out of curiosity, I believe your main motivation for this is updating the text parser for the usage in Firefox, is that right? If so, do you find it onerous/difficult/annoying to update all the other crates in the workspace? I find we have a lot here so updating little things can be a surprising amount of effort and I'm always hoping we can find more central locations to define all of this. Recently I'm wondering if we should try to deduplicate all the instruction encodings/names into one place to avoid having to name them in so many places. Anyway just curious, always happy to merge these PRs!
Oh also, would you like a publish? |
It is not a big deal to update in multiple place, as long as testing will check typos and discrepancies in implementations.
Yes, at your earliest convenience. I anticipate a reasonable delay up to 2 weeks between version release. |
@yurydelendik I'm not following the the relaxed-simd spec much so you may know the answer to this. With WebAssembly/testsuite#62 I was testing out updating the wasm-tools submodule to the testsuite to include relaxed-simd to ensure that all tests pass. Currently the only error is:
It looks like |
Also I'm happy to publish whenever, I'm just waiting for a day with no fuzz-bugs to publish. (should be today, checking on oss-fuzz now) |
The difference between
No problem. It is sort of a breaking change, and probably has not good tests. Disabling tests for fma/fms can be an option. |
Ok sounds good, I'll handle that accordingly and publish these changes today. |
Changes wasm-tools to implement current https://github.com/WebAssembly/relaxed-simd/blob/main/proposals/relaxed-simd/Overview.md
i16x8.relaxed_q15mulr_s
,i16x8.dot_i8x16_i7x16_s
,i32x4.dot_i8x16_i7x16_add_s
, andf32x4.relaxed_dot_bf16x8_add_f32x4