Wasm SIMD
fabiodr opened this issue · 3 comments
fabiodr commented
The build can already take advantage of Wasm SIMD for compatible browsers or does it need some changes before?
kripken commented
The build would need to be done with SIMD enabled (-msimd128
).
fabiodr commented
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 commented
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.