]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Given that the idea of D15374 was to "make memmove a first class citizen",
authorMarius Strobl <marius@FreeBSD.org>
Tue, 20 Nov 2018 00:08:33 +0000 (00:08 +0000)
committerMarius Strobl <marius@FreeBSD.org>
Tue, 20 Nov 2018 00:08:33 +0000 (00:08 +0000)
commit3d62bdba6363319975d4d19b39089245547c68e6
treee10658dd178f59bb239b1f0d5a94d3fe6d8094b6
parentd1f84ec0a7670692af788ca32d1d6c21011454b8
Given that the idea of D15374 was to "make memmove a first class citizen",
provide a _MEMMOVE extension of _MEMCPY that deals with overlap based on
the previous bcopy(9) implementation and use the former for bcopy(9) and
memmove(9). This addresses my D15374 review comment, avoiding extra MOVs
in case of memmove(9) and trashing the stack pointer.
sys/sparc64/sparc64/support.S