зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1657374 - flip flags for wasm simd. r=rhunt
This should be enough to enable wasm simd on x86/x64 in all channels, but leave it preffed-off on non-nightly. Differential Revision: https://phabricator.services.mozilla.com/D86822
This commit is contained in:
Родитель
31a5cfa91b
Коммит
9e2ed30feb
|
@ -628,12 +628,12 @@ set_define('ENABLE_SHARED_MEMORY', enable_shared_memory)
|
|||
# Support for WebAssembly SIMD
|
||||
# =====================================================
|
||||
|
||||
@depends('--enable-jit', '--enable-simulator', target, milestone)
|
||||
def default_wasm_simd(jit_enabled, simulator, target, milestone):
|
||||
@depends('--enable-jit', '--enable-simulator', target)
|
||||
def default_wasm_simd(jit_enabled, simulator, target):
|
||||
if not jit_enabled or simulator:
|
||||
return
|
||||
|
||||
if milestone.is_nightly and target.cpu in ('x86_64', 'x86'):
|
||||
if target.cpu in ('x86_64', 'x86'):
|
||||
return True
|
||||
|
||||
js_option('--enable-wasm-simd',
|
||||
|
|
|
@ -1106,7 +1106,11 @@ pref("javascript.options.wasm_baselinejit", true);
|
|||
pref("javascript.options.wasm_multi_value", true);
|
||||
#endif
|
||||
#ifdef ENABLE_WASM_SIMD
|
||||
pref("javascript.options.wasm_simd", true);
|
||||
#ifdef NIGHTLY_BUILD
|
||||
pref("javascript.options.wasm_simd", true);
|
||||
#else
|
||||
pref("javascript.options.wasm_simd", false);
|
||||
#endif
|
||||
#endif
|
||||
pref("javascript.options.native_regexp", true);
|
||||
pref("javascript.options.parallel_parsing", true);
|
||||
|
|
Загрузка…
Ссылка в новой задаче