Author: kib Date: Wed Mar 9 10:21:13 2016 New Revision: 296562 URL: https://svnweb.freebsd.org/changeset/base/296562
Log: MFC r295966: Return dst as the result from memcpy(9) on amd64. PR: 207422 Modified: stable/10/sys/amd64/amd64/support.S Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/amd64/amd64/support.S ============================================================================== --- stable/10/sys/amd64/amd64/support.S Wed Mar 9 10:19:32 2016 (r296561) +++ stable/10/sys/amd64/amd64/support.S Wed Mar 9 10:21:13 2016 (r296562) @@ -152,6 +152,7 @@ END(bcopy) */ ENTRY(memcpy) PUSH_FRAME_POINTER + movq %rdi,%rax movq %rdx,%rcx shrq $3,%rcx /* copy by 64-bit words */ cld /* copy forwards */ _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"