Quantcast

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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Benjamin Bouvier
Following
https://groups.google.com/d/topic/mozilla.dev.platform/v3Mz5iuMkig/discussion,
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 [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]
http://searchfox.org/mozilla-central/source/js/src/devtools/automation/autospider.py
_______________________________________________
dev-tech-js-engine mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-js-engine
Loading...