You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we are including the C implementations of several math function:
rint
rintf
copysignf
floor
ceil
trunc
fabs
copysign
sqrt
This means that any code compiled with -fno-builtin will end up with sub-optimal implementations and because wasi-libc itself is compiled with -fno-builtin any internal references to these functions will be sub-optimal.
Currently we are including the C implementations of several math function:
This means that any code compiled with
-fno-builtin
will end up with sub-optimal implementations and because wasi-libc itself is compiled with-fno-builtin
any internal references to these functions will be sub-optimal.This was recently fixed in emscripten via: emscripten-core/emscripten#9239 emscripten-core/emscripten#9250
However, a cleaner fix might be to use arch-specific implementations like, for example:
./libc-top-half/musl/src/math/i386/rintf.s
The text was updated successfully, but these errors were encountered: