From owner-cvs-lib Wed Dec 27 10:47:49 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA07910 for cvs-lib-outgoing; Wed, 27 Dec 1995 10:47:49 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA07903 Wed, 27 Dec 1995 10:47:47 -0800 (PST) Date: Wed, 27 Dec 1995 10:47:47 -0800 (PST) From: David Greenman Message-Id: <199512271847.KAA07903@freefall.freebsd.org> To: CVS-committers, cvs-lib Subject: cvs commit: src/lib/libc/i386/string bcopy.S memmove.S Sender: owner-cvs-lib@FreeBSD.ORG Precedence: bulk davidg 95/12/27 10:47:46 Modified: lib/libc/i386/string bcopy.S memmove.S Log: 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. Revision Changes Path 1.3 +8 -6 src/lib/libc/i386/string/bcopy.S 1.3 +8 -6 src/lib/libc/i386/string/memmove.S