Replies: 4 comments 9 replies
-
Hi @myfreeer, Wow that's great! Would you like to bring this via a PR? |
Beta Was this translation helpful? Give feedback.
-
@myfreeer is it possible to get additional wasm improvements and postponed tasks at #286 :) moving Compiling section (with or without more documentation) in the PR to README, build.rst could be nice too |
Beta Was this translation helpful? Give feedback.
-
It seems that the current wasm compiler lacks compile-time contant evaluation feature, here is an example taken from Wasm link: https://godbolt.org/z/aoEer7cd9 |
Beta Was this translation helpful? Give feedback.
-
Found a type here |
Beta Was this translation helpful? Give feedback.
-
Based on the compact code by emscripten, most part of the x86 sse2 simd code can be rewritten into wasm simd128.
Initial work here, it should compile both library and tests with clang and wasi-sdk with cmake arguments below:
Where
/path/to/wasi-sdk-19.0/
is the path to extracted wasi sdk.Here is an example of compiled tests:
compiled_tests_for_wasi.zip
This should run on wasmtime and wasmer runtime with simd128 support and pass the tests.
Beta Was this translation helpful? Give feedback.
All reactions