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 Vector.Equals optimization #67202 #67902

Merged
merged 1 commit into from
Apr 14, 2022

Conversation

EgorBo
Copy link
Member

@EgorBo EgorBo commented Apr 12, 2022

This PR partially reverts #67202 to fix #67596 perf regression

image
image

(on some CPUs I tested xor+vptest was faster though)

PTAL @dotnet/jit-contrib

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Apr 12, 2022
@ghost ghost assigned EgorBo Apr 12, 2022
@ghost
Copy link

ghost commented Apr 12, 2022

Tagging subscribers to this area: @JulieLeeMSFT
See info in area-owners.md if you want to be subscribed.

Issue Details

This PR partially reverts #67202 to fix #67596 perf regression

PTAL @dotnet/jit-contrib

Author: EgorBo
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@EgorBo
Copy link
Member Author

EgorBo commented Apr 13, 2022

cc @tannergooding

@tannergooding
Copy link
Member

(on some CPUs I tested xor+vptest was faster though)

Which CPUs and how significant was it faster by?

@EgorBo
Copy link
Member Author

EgorBo commented Apr 14, 2022

(on some CPUs I tested xor+vptest was faster though)

Which CPUs and how significant was it faster by?

I don't have access to that CPU but afair it was 5% faster on Ryzen 5950x, you can try this benchmark to check it locally 🙂 https://gist.github.com/EgorBo/bdd35a88a78340c996be7cd236be4805

@EgorBo EgorBo merged commit 489b034 into dotnet:main Apr 14, 2022
@ghost ghost locked as resolved and limited conversation to collaborators May 14, 2022
@EgorBo EgorBo deleted the revert-vec-equals-testz branch May 2, 2023 10:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regressions in SequenceEqual
2 participants