As of Firefox 148, I intend to enable the WebAssembly Branch Hinting 
proposal by default on all platforms. It is currently enabled by default in 
Nightly builds and can be controlled by the 
`javascript.options.wasm_branch_hinting` preference. The motivation for 
this proposal is to improve the performance of the compiled wasm code, by 
informing the engine that a particular branch instruction is very likely to 
take a specific path.

The proposal is designed to provide optimization opportunities for engines 
without modifying any existing wasm code. Our implementation improves code 
layout by moving unlikely branches out of line.

The branch hinting proposal has reached stage 5 in July 2024, which means 
it is now part of the wasm standard. Branch hinting was shipped in Chrome 
137, and in Safari 16.

Bug to turn on by default: 
https://bugzilla.mozilla.org/show_bug.cgi?id=1950729

Standard: https://github.com/WebAssembly/branch-hinting

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/195efa57-97c4-4272-959a-9db1bb82e8d5n%40mozilla.org.

Reply via email to