]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Be smarter about handling overlapped copies and only go backwards if it
authordg <dg@FreeBSD.org>
Wed, 27 Dec 1995 18:47:45 +0000 (18:47 +0000)
committerdg <dg@FreeBSD.org>
Wed, 27 Dec 1995 18:47:45 +0000 (18:47 +0000)
commit092f38aea585d6cdfb5955a340362bb4a51fd2ff
tree6c2961ce400b6ccc62cd0e124f7a530d8372d5bb
parente9380ac25166321871462c50797fb4ca791b8105
Be smarter about handling overlapped copies and only go backwards if it
is really necessary. Going backwards on a P6 is much slower than forwards
and it's a little slower on a P5. Also moved the count mask and 'std'
down a few lines - it's a couple percent faster this way on a P5.
lib/libc/i386/string/bcopy.S
lib/libc/i386/string/memmove.S