diff options
author | kib <kib@FreeBSD.org> | 2016-02-24 11:58:15 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2016-02-24 11:58:15 +0000 |
commit | 2d14e036264b9212d74e0e87716f9f7d3e3aa648 (patch) | |
tree | eca3957f17f0200a8e83c8df8b0d9d0895b3e573 /sys/amd64 | |
parent | dc97d79aa1b995ca262173d57b237b3cd481b8a4 (diff) | |
download | FreeBSD-src-2d14e036264b9212d74e0e87716f9f7d3e3aa648.zip FreeBSD-src-2d14e036264b9212d74e0e87716f9f7d3e3aa648.tar.gz |
Return dst as the result from memcpy(9) on amd64.
PR: 207422
MFC after: 1 week
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/support.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/amd64/support.S b/sys/amd64/amd64/support.S index aea25da..dc94891 100644 --- a/sys/amd64/amd64/support.S +++ b/sys/amd64/amd64/support.S @@ -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 */ |