Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Wasm Branch Hinting #2744

Open
jakobkummerow opened this issue Mar 5, 2025 · 0 comments
Open

Add Wasm Branch Hinting #2744

jakobkummerow opened this issue Mar 5, 2025 · 0 comments
Labels
feature definition Creating or defining new features or groups of features.

Comments

@jakobkummerow
Copy link

Specification

https://github.com/WebAssembly/branch-hinting/blob/main/proposals/branch-hinting/Overview.md

Description

A new section in Wasm modules containing likelihood hints for branch instructions, allowing engines to generate more optimal code.

To be in line with other Wasm features, I expect that the name will be wasm-branch-hinting.yml. The group is "webassembly".

Documentation

https://github.com/WebAssembly/branch-hinting/blob/main/proposals/branch-hinting/Overview.md

Browser support

According to the table at https://webassembly.org/features:

Chrome: requires flag
Firefox: enabled in Nightly, requires flag in Beta/Stable
Safari: enabled since 16

Chrome will enable it by default soon (likely in version 136 or 137): https://issues.chromium.org/issues/373151164

@jakobkummerow jakobkummerow added the feature definition Creating or defining new features or groups of features. label Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature definition Creating or defining new features or groups of features.
Projects
None yet
Development

No branches or pull requests

1 participant