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

Disable autovectorization on wasm #86038

Merged
merged 1 commit into from
May 10, 2023
Merged

Conversation

kg
Copy link
Member

@kg kg commented May 10, 2023

7c75cbf added the -msimd128 flag to cmakelists so that the interpreter could use wasm vector intrinsics. That option appears to imply enabling all sorts of auto-vectorization, which may be responsible for the regressions in dotnet/perf-autofiling-issues#17570

@kg kg added the arch-wasm WebAssembly architecture label May 10, 2023
@kg kg requested a review from marek-safar as a code owner May 10, 2023 13:47
@ghost
Copy link

ghost commented May 10, 2023

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

7c75cbf added the -msimd128 flag to cmakelists so that the interpreter could use wasm vector intrinsics. That option appears to imply enabling all sorts of auto-vectorization, which may be responsible for the regressions in dotnet/perf-autofiling-issues#17570

Author: kg
Assignees: -
Labels:

arch-wasm

Milestone: -

@ghost ghost assigned kg May 10, 2023
@kg kg requested a review from radekdoulik May 10, 2023 13:47
@kg
Copy link
Member Author

kg commented May 10, 2023

@radekdoulik do you think I need to do more than this to actually disable autovectorization? The regression being in AOT is weird to me. I did touch a couple other bits of csproj that were controlling msimd128, but as far as I knew we already had it turned on for AOT.

@kg kg merged commit 888bac3 into dotnet:main May 10, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Jun 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Build-mono
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants