Skip to content

[WebAssembly] Add extended-const to the "generic" CPU. #139640

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sunfishcode
Copy link
Member

@sunfishcode sunfishcode commented May 12, 2025

This enables -mextended-const in the default "generic" CPU for WebAssembly. extended-const is implemented in the latest versions of all the major browsers, though we should investigate what percentage of each browsers' users have updated to a version that has -mextended-const.

@sbc100 @dschuff

@sbc100
Copy link
Collaborator

sbc100 commented May 12, 2025

From the emscripten POV we would want to add a binaryen lowering pass before landing this if possible: WebAssembly/binaryen#7583

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants