Skip to content

Evaluate JIT_MemCpy without overlap check #6701

Open
@helloguo

Description

@helloguo

The current implementation of JIT_MemCpy on x64 Windows checks for address overlap and different paths are taken depending on result. However, ECMA-335 mentions "The behavior of cpblk is unspecified if the source and destination areas overlap". An optimized version without overlap check may be worth evaluating and implementing. dotnet/coreclr#7198

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIenhancementProduct code improvement that does NOT require public API changes/additionstenet-performancePerformance related issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions