PSA: the JS shell must now be compiled with SSE2 support on x86 platforms
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 autospider.py tool , 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.