gecko-dev/js
Lars T Hansen a0f3f0226e Bug 1686652 - Make the wormhole cleverer. r=rhunt
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
2021-02-12 08:44:09 +00:00
..
ductwork/debugger
examples
public Bug 1684092 - Part 3: Remove unnecessary #includes of Attributes.h for MOZ_MUST_USE in js/src/. r=jandem 2021-02-12 04:09:24 +00:00
rust Bug 1691008 - Part 5: Remove Wrapper::NewSingleton. r=jandem 2021-02-05 14:15:41 +00:00
src Bug 1686652 - Make the wormhole cleverer. r=rhunt 2021-02-12 08:44:09 +00:00
xpconnect Bug 1686652 - Generalize the SIMD wormhole. r=yury 2021-02-12 08:44:08 +00:00
app.mozbuild
ffi.configure
moz.build
moz.configure Bug 1686652 - Generalize the SIMD wormhole. r=yury 2021-02-12 08:44:08 +00:00
sub.configure