No, it unconditionally evaluates all arguments.

On Wed, Nov 13, 2019 at 11:09 AM Stéphane Letz <[email protected]> wrote:

> Does  WebAssembly "select" instruction behaves like C/C++ (cond ? then :
> else),  that is compute *only* one of the two branches depending of the
> "cond" value?
>
> Thanks.
>
> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/06055c34-5186-4f6b-92f7-eb6a9580f893%40googlegroups.com
> <https://groups.google.com/d/msgid/emscripten-discuss/06055c34-5186-4f6b-92f7-eb6a9580f893%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAJZD_EX6WsYD_0ZOm9w3Ptuu7PvzCXOwSX3SRtUoJqUzjh94Vg%40mail.gmail.com.

Reply via email to