Remove run-time selection of wasm SIMD
Categories
(Core :: JavaScript: WebAssembly, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox104 | --- | fixed |
People
(Reporter: lth, Assigned: yury)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
SIMD has shipped and seems stable and I don't think we need the run-time switches any more:
- javascript.options.wasm_simd in about:config
- --no-wasm-simd at the shell
These should probably be removed (or we should understand why they are still needed). All code in the engine that tests this setting should be removed.
The TestingFunctions.cpp predicate and the ifdef remain, since we don't have SIMD on all platforms.
Removing the --no-wasm-simd switch may require another "state" in public/WasmFeatures.h, so there's a little bit of design work. (Edit: it probably just means removing SIMD from WasmFeatures.h)
Obviously this is not urgent, it's just cleanup that should be done to simplify the code.
Assignee | ||
Comment 1•3 years ago
|
||
Removed:
- javascript.options.wasm_simd in about:config
- --no-wasm-simd at the shell
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Some element of runtime selection will still exist because of ability to control js shell SIMD e.g. via --no-sse3
-- will hide this deep inside js::wasm::FeatureArgs
.
Updated•3 years ago
|
Comment 4•3 years ago
|
||
bugherder |
Description
•