Return dst as the result from memcpy(9) on amd64.
PR: 207422 MFC after: 1 week
This commit is contained in:
parent
c0af8d16d8
commit
abb8f08388
@ -151,6 +151,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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user