Date:  04 Jan 2017 15:45:02 Hong Kong Time

Re: PSA: the JS shell must now be compiled with SSE2 support on x86 platforms


I quess I was dealing with this problem.

"-ffloat-store" gcc option was working for me to fix floating point correctness issues. To make jstests passing on x86...

On Tuesday, January 3, 2017 at 11:48:49 AM UTC+1, Benjamin Bouvier wrote:
> Following
> Firefox builds now include SSE2 flags on all tier-1 32-bits x86 platforms.
> The Spidermonkey JS shell using a different build system, the SSE2 flags
> have not been included until bug 1326027 landed. Bug 1326027 also included
> changes that require SSE2 to be enabled on these platforms (= x86 and ARM32
> simulator, since it uses x86 as an host).
> If you see wasm related failures when building on x86 32-bits, add these
> flags to your compiler flags:
> - "-msse -msse2 -mfpmath=sse" on linux32 builds, with gcc or clang
> - "-arch:SSE2" on win32 builds, with cl
> If you simply use the tool [1], these flags will now be
> included by default. This is what's used on our CI infrastructure.
> Building without SSE2 support on x86 is still possible, but it will impact
> WebAssembly correctness in all running modes.
> Cheers,
> Benjamin
> [1]