Skip to content

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

Closed

Description

@helloguo

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

Activity

  1. nietras commented on Sep 21, 2016

    @nietras
    Contributor

    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?

  2. transferred this issue fromdotnet/coreclron Jan 31, 2020
  3. added this to the Future milestone on Jan 31, 2020
  4. added
    JitUntriaged
    on Oct 28, 2020
  5. TIHan commented on Nov 1, 2023

    @TIHan
    Contributor

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

  6. removed
    JitUntriaged
    on Nov 1, 2023
  7. EgorBo commented on Mar 16, 2024

    @EgorBo
    Member

    Closed by #98623

  8. locked and limited conversation to collaborators on Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-CodeGen-coreclrenhancementtenet-performance

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions