Closed Bug 1753923 Opened 3 years ago Closed 3 years ago

Remove run-time selection of wasm SIMD

Categories

(Core :: JavaScript: WebAssembly, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
104 Branch
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.

Blocks: wasm-simd

Removed:

  • javascript.options.wasm_simd in about:config
  • --no-wasm-simd at the shell
Attachment #9275553 - Attachment description: WIP: Bug 1753923 - Remove run-time selection of wasm SIMD → Bug 1753923 - Remove run-time selection of wasm SIMD. r?lth

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.

Attachment #9275553 - Attachment description: Bug 1753923 - Remove run-time selection of wasm SIMD. r?lth → Bug 1753923 - Remove run-time selection of wasm SIMD. r?rhunt
Pushed by ydelendik@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c3dbbd5f2fd8 Remove run-time selection of wasm SIMD. r=rhunt
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: