зеркало из https://github.com/mozilla/gecko-dev.git
a0f3f0226e
This introduces cleaner logic around selecting the SIMD wormhole. The large comment block in WasmConstants.h explains it in full, but in summary this is what happens: - Under some circumstances, an options bag passed to the wasm compilation functions is recognized, and an option in that bag can request simd + the simd wormhole for the compilation in question, to wit, `{simdWormhole:true}`. - In nightly and early betas, the switch j.o.wasm_simd_wormhole can be set to force recognition of the options bag. - Privileged content also gets to force recogntion of the options bag (simply by being privileged). The definition of privileged content is TBD in this patch; there is a placeholder. Thus some of our ongoing experiments can request the use of simd and the simd wormhole even in release browsers, without risking exposing this functionality to the web until it's ready. Differential Revision: https://phabricator.services.mozilla.com/D103694 |
||
---|---|---|
.. | ||
ductwork/debugger | ||
examples | ||
public | ||
rust | ||
src | ||
xpconnect | ||
app.mozbuild | ||
ffi.configure | ||
moz.build | ||
moz.configure | ||
sub.configure |