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

Evaluate JIT_MemCpy with wider copies using AVX2 on hardware that support it #6702

Closed
helloguo opened this issue Sep 21, 2016 · 3 comments
Closed
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI enhancement Product code improvement that does NOT require public API changes/additions tenet-performance Performance related issue
Milestone

Comments

@helloguo
Copy link

JIT_MemCpy on x64 Windows may benefit from using wider copies using YMM registers for certain copy lengths on hardware that support it. Requires CPU dispatch and may additionally require VZEROUPPER instruction to avoid transition penalties. dotnet/coreclr#7198

category:cq
theme:helpers
skill-level:expert
cost:medium

@nietras
Copy link
Contributor

nietras commented Sep 21, 2016

Can CPU dispatch not be done using the function pointer trick where on first call the CPU id is determined and this updates the function pointer, so following calls no longer do the CPU id check?

@msftgits msftgits transferred this issue from dotnet/coreclr Jan 31, 2020
@msftgits msftgits added this to the Future milestone Jan 31, 2020
@BruceForstall BruceForstall added the JitUntriaged CLR JIT issues needing additional triage label Oct 28, 2020
@TIHan
Copy link
Contributor

TIHan commented Nov 1, 2023

Would be interesting to see, though the behavior should remain the same whether or not we want to handle overlapping buffers: #6701

@TIHan TIHan removed the JitUntriaged CLR JIT issues needing additional triage label Nov 1, 2023
@EgorBo
Copy link
Member

EgorBo commented Mar 16, 2024

Closed by #98623

@EgorBo EgorBo closed this as completed Mar 16, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 15, 2024
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 enhancement Product code improvement that does NOT require public API changes/additions tenet-performance Performance related issue
Projects
None yet
Development

No branches or pull requests

6 participants