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

Wasm SIMD #369

Open
fabiodr opened this issue May 11, 2021 · 3 comments
Open

Wasm SIMD #369

fabiodr opened this issue May 11, 2021 · 3 comments

Comments

@fabiodr
Copy link

fabiodr commented May 11, 2021

The build can already take advantage of Wasm SIMD for compatible browsers or does it need some changes before?

@kripken
Copy link
Owner

kripken commented May 11, 2021

The build would need to be done with SIMD enabled (-msimd128).

@fabiodr
Copy link
Author

fabiodr commented May 12, 2021

Great! So, the code doesn't need to be changed because it was already prepared for SIMD and Emscripten does the work of compiling for the new SIMD spec?

Has the SIMD build been tested?

Is there a performance comparison somewhere?

@kripken
Copy link
Owner

kripken commented May 12, 2021

I don't know about the Bullet source code, though - not sure how to enable SIMD there. But -msimd128 would enable the wasm feature in the compiler, and the autovectorizer, at minimum.

I haven't tested that feature myself.

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