leaningtech / cheerp-meta

Cheerp - a C/C++ compiler for Web applications - compiles to WebAssembly and JavaScript
https://labs.leaningtech.com/cheerp
Other
1.02k stars 50 forks source link

SIMD/Avx/Avx2 support? #113

Closed ouya99 closed 2 years ago

ouya99 commented 2 years ago

Hello,

does cheerp support SIMD avx/avx2 instructions? Did not find any help on this on the internet nor in github

thanks

yuri91 commented 2 years ago

Hi!

Cheerp currently does not support SIMD, although we plan to implement it in the future.

In particular about avx/avx2: they are x86-specific, so some sort of compatibility layer on top of native Wasm SIMD instructions would be needed, even after we implement the latter.

We will update this issue when there will be progress on this feature.