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

Make wasm +sign-ext and +nontrapping-fptoint the default #7995

Merged
merged 2 commits into from
Dec 8, 2023

Conversation

steven-johnson
Copy link
Contributor

@steven-johnson steven-johnson commented Dec 7, 2023

These have been supported in ~all wasm runtimes for a while now (see https://webassembly.org/roadmap/), and +nontrapping-fptoint in particular can make a big performance difference. We should enable these by default, and add a new backdoor (wasm_mvponly) for code paths that need to use the original wasm Minimum Viable Product spec only.

These have been supported in ~all wasm runtimes for a while now, and +nontrapping-fptoint in particular can make a big performance difference. We should enable these by default, and add a new backdoor (wasm_mvponly) for code paths that need to use the original wasm Minimum Viable Product spec only.
@steven-johnson steven-johnson added the release_notes For changes that may warrant a note in README for official releases. label Dec 7, 2023
steven-johnson added a commit to halide/build_bot that referenced this pull request Dec 7, 2023
Copy link

@tlively tlively left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! sign-ext and nontrapping-fptoint have indeed been standard and available for a long time and can give nice codegen improvements.

@steven-johnson steven-johnson marked this pull request as ready for review December 7, 2023 23:33
steven-johnson added a commit to halide/build_bot that referenced this pull request Dec 8, 2023
* Update build script to handle halide/Halide#7995

* Update master.cfg

* Update master.cfg

* Update master.cfg

* Update master.cfg
@steven-johnson steven-johnson merged commit 19c1c81 into main Dec 8, 2023
19 checks passed
@steven-johnson steven-johnson deleted the srj/wasm-features branch December 8, 2023 16:50
ardier pushed a commit to ardier/Halide-mutation that referenced this pull request Mar 3, 2024
* Make wasm +sign-ext and +nontrapping-fptoint the default

These have been supported in ~all wasm runtimes for a while now, and +nontrapping-fptoint in particular can make a big performance difference. We should enable these by default, and add a new backdoor (wasm_mvponly) for code paths that need to use the original wasm Minimum Viable Product spec only.

* Update simd_op_check_wasm.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_notes For changes that may warrant a note in README for official releases.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants