Date: Mon, 24 Nov 1997 13:18:26 +0200 (IST) From: Eli Zaretskii To: Speed cc: djgpp AT delorie DOT com Subject: Re: 32bit memcpy function? In-Reply-To: <34791FD2.DC541BF1@linux.dpilink.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sun, 23 Nov 1997, Speed wrote: > So it is equivalent to a 'rep movsl'? (assuming, of course, the source, > dest, and count are already set) It's not equivalent, that's *exactly* what it does (except that if the count is not an integer multiple of 4, it moves the rest with movesb). You might consider downloading the DJGPP library sources (v2/djlsr201.zip) so you could look there by yourself whenever such questions arise. In addition, if the size is known at compile time, gcc will generate an inline loop instead of calling the library function, this saving the overhead of the call.