It can still affect js library code, that is processed using the old
compiler core. But it won't affect C and C++ code that is compiled.

- Alon


On Sat, Jan 31, 2015 at 2:12 PM, Boris Gjenero <[email protected]>
wrote:

> FORCE_ALIGNED_MEMORY definitely seems to do something. When compiling
> Em-DOSBox, adding -s FORCE_ALIGNED_MEMORY=1 changes the JS output a bit.
> The diff output quickly becomes confusing, but this part from
> __formatString() is clear. The left side is without the option. It copies a
> double into a temporary location using two 32 bit loads. The right side is
> with -s FORCE_ALIGNED_MEMORY=1.
>
> <    ret = (HEAP32[tempDoublePtr >> 2] = HEAP32[varargs + argIndex >> 2],
> HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[varargs + (argIndex + 4) >> 2],
> +HEAPF64[tempDoublePtr >> 3]);
> ---
> >    ret = HEAPF64[varargs + argIndex >> 3];
>
>
> --
> 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