Open
Description
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