Skip to content

Revert Vector.Equals optimization #67202 - #67902

Merged
EgorBo merged 1 commit into
dotnet:mainfrom
EgorBo:revert-vec-equals-testz
Apr 14, 2022
Merged

Revert Vector.Equals optimization #67202#67902
EgorBo merged 1 commit into
dotnet:mainfrom
EgorBo:revert-vec-equals-testz

Conversation

@EgorBo

@EgorBoEgorBo commented Apr 12, 2022

Copy link
Copy Markdown
Member

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

@ghostghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Apr 12, 2022
@ghostghost assigned EgorBoApr 12, 2022
@ghost

Copy link
Copy Markdown

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
Copy Markdown
MemberAuthor

cc @tannergooding

@tannergooding

Copy link
Copy Markdown
Member

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

Which CPUs and how significant was it faster by?

@EgorBo

Copy link
Copy Markdown
MemberAuthor

(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:mainApr 14, 2022
@ghostghost 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 freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclrCLR 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

@EgorBo@tannergooding