All SIMD code will currently utilize the polyfill implementation:
https://github.com/johnmccutchan/ecmascript_simd since no browser supports
the api in release builds yet. Using the scalar path will definitely give
you better performance at this point, but in the future, once the
specification matures and SIMD is directly implemented by browsers, this
could change.


2014-08-27 10:15 GMT+03:00 <[email protected]>:

> I was testing some of my clang/gcc vector extension code and was pleased
> to see, that it compiled and worked ok (with some exceptions thrown under
> the Java 8 jjs interpreter). But vector extension code will compile even
> for the old i386 target without SIMD support, or the old armv5 target, that
> emulates the FPU, in a sense, it is generic. What does such code compile
> into in javascript and does it make sense to use it at all?
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to