]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/x86_64/bcopy.s
xnu-3247.1.106.tar.gz
[apple/xnu.git] / osfmk / x86_64 / bcopy.s
index 249e621fd90f27b0ed40f780b77633530456f1f7..fc0af58d6cd0296084beddc5f4c3abc7b7d4dc20 100644 (file)
@@ -64,6 +64,7 @@
  * Note: memcpy does not support overlapping copies
  */
 ENTRY(memcpy)
+       movq    %rdi, %rax                      /* return destination */
        movq    %rdx,%rcx
        shrq    $3,%rcx                         /* copy by 64-bit words */
        cld                                     /* copy forwards */