]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
amd64: tidy up kernel memmove, take 2
authormjg <mjg@FreeBSD.org>
Mon, 17 Sep 2018 15:51:49 +0000 (15:51 +0000)
committermjg <mjg@FreeBSD.org>
Mon, 17 Sep 2018 15:51:49 +0000 (15:51 +0000)
commit1c14426250291bb97a7c1116ed200ab10900c137
tree23da39137f648518b56d1c54a189e9290b3b5c66
parent7864c480b1e3696a157d2bc6bfe87e2b51483e60
amd64: tidy up kernel memmove, take 2

There is no need to use %rax for temporary values and avoiding doing
so shortens the func.
Handle the explicit 'check for tail' depessimisization for backwards copying.

This reduces the diff against userspace.

Tested with the glibc test suite.

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