Skip to content
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

SIMD subgroup meeting on 2022-02-18 #50

Closed
ngzhian opened this issue Jan 21, 2022 · 5 comments
Closed

SIMD subgroup meeting on 2022-02-18 #50

ngzhian opened this issue Jan 21, 2022 · 5 comments

Comments

@ngzhian
Copy link
Member

ngzhian commented Jan 21, 2022

This is a joint meeting with flexible-vectors and any SIMD related presentations are also welcome, e.g. new architectures or toolchains, longer term discussion that don't fit into flexible-vectors or relaxed-simd.

The meeting will be on Friday, Feb 18 at 9:00AM - 10:00AM PDT/ 5:00PM - 6:00PM CET.

If this meeting doesn't already appear on your calendar, or you are a new attendee, please fill out this form to attend.

@lars-t-hansen
Copy link

It would be useful to discuss the state of relaxed simd, what the final outcome of the fpenv discussion was, what work remains in terms of spec and overview text, and who is going to do it. We might discuss whether there are more instructions to be added or whether we are ready to push this forward to Phase 3, as Firefox has a full implementation of the current spec modulo fpenv. Apparently LLVM and V8 both have implementations too. @yurydelendik says that he has time to take on some of this work.

@ngzhian
Copy link
Member Author

ngzhian commented Feb 17, 2022

It would be useful to discuss the state of relaxed simd, what the final outcome of the fpenv discussion was, what work remains in terms of spec and overview text, and who is going to do it.

The outcome of the fpenv discussion is in the meeting notes for the last presentation we did to the CG on 2021-11-09: https://github.com/WebAssembly/meetings/blob/main/main/2021/CG-11-09.md#update-on-relaxed-simd-fpenv-discussions-and-poll-for-phase-2-zhi-an-ng-15-min

There is some weirdness in spec text (as currently proposed), for example consistency across operators, we probably want the min and max to behave similarly, and fms/fma to be similar, we need a way to say that (that's what I recall and what I can tell from the meeting notes, but I might be missing something).

I have not yet tweaked the spec text, and will be able to get to it soon ~2 weeks. I welcome any help (make a PR to https://github.com/ngzhian/relaxed-simd)

as Firefox has a full implementation of the current spec modulo fpenv. Apparently LLVM and V8 both have implementations too.

Nice! Yes V8 has prototype implementation on x64 and arm64, LLVM and related tools have support for experimenting via -mrelaxed-simd.

fpenv won't require any engine support IMO, the whole point of this new fpenv is to make it a spec construct.

For phase 3, we need

Edit: and also, need some more work feature detection.

@dtig
Copy link
Member

dtig commented Feb 17, 2022

Another possible agenda item would be to discuss open issues that have not been merged into the spec, and the likelihood of them to be merged into the overview, so implementers can prototype in parallel. Specifically #40, #17 for now, but there are other issues we could triage through depending on how much time we have.

Separately, @Maratyszcza brought up approximation instructions, and whether this proposal should handle them today, and that could probably also be a good item to discuss in the meeting tomorrow.

@ngzhian
Copy link
Member Author

ngzhian commented Feb 19, 2022

@ngzhian
Copy link
Member Author

ngzhian commented Feb 19, 2022

Next meeting issue #56

@ngzhian ngzhian closed this as completed Feb 19, 2022
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

3 participants