]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC: r340656, MF12: r340759
authormarius <marius@FreeBSD.org>
Thu, 22 Nov 2018 16:27:30 +0000 (16:27 +0000)
committermarius <marius@FreeBSD.org>
Thu, 22 Nov 2018 16:27:30 +0000 (16:27 +0000)
commit1a6cbf23692806862e883edc65e8c21986ed0c13
tree29c369f1332a446393779a99107bf9b331f226f8
parent7635e8c15bcbdd44bd1ea364f928b29f6244c595
MFC: r340656, MF12: r340759

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.

Approved by: re (kib)
sys/sparc64/sparc64/support.S