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

Revert "Manually optimize a rem 64 instruction to avoid regression on runtimes which do not currently optimize it (#96203)" #96415

Conversation

andrewjsaid
Copy link
Contributor

This reverts commit bc83100.

Full discussion here #96203 (comment)

Summary:
While the optimization may have improved mono's benchmarks, it should be a compiler optimization just like in the case of CoreCLR.

Also there is reason to believe that there's other missing optimizations exposed by the original PR which weren't addressed by the reverted commit.

cc @stephentoub

… runtimes which do not currently optimize it (dotnet#96203)"

This reverts commit bc83100.
@ghost ghost added the community-contribution Indicates that the PR has been added by a community member label Jan 2, 2024
@ghost
Copy link

ghost commented Jan 2, 2024

Tagging subscribers to this area: @dotnet/area-system-collections
See info in area-owners.md if you want to be subscribed.

Issue Details

This reverts commit bc83100.

Full discussion here #96203 (comment)

Summary:
While the optimization may have improved mono's benchmarks, it should be a compiler optimization just like in the case of CoreCLR.

Also there is reason to believe that there's other missing optimizations exposed by the original PR which weren't addressed by the reverted commit.

cc @stephentoub

Author: andrewjsaid
Assignees: -
Labels:

area-System.Collections, community-contribution

Milestone: -

Copy link
Member

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

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

Thanks

@stephentoub stephentoub closed this Jan 2, 2024
@stephentoub stephentoub reopened this Jan 2, 2024
@andrewjsaid andrewjsaid closed this Jan 3, 2024
@andrewjsaid andrewjsaid reopened this Jan 3, 2024
@stephentoub stephentoub merged commit cc26196 into dotnet:main Jan 3, 2024
109 of 111 checks passed
@andrewjsaid andrewjsaid deleted the frozen-collections-length-filter-perf-rem64-revert branch January 3, 2024 14:03
@github-actions github-actions bot locked and limited conversation to collaborators Feb 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Collections community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants