Mail Archives: djgpp/1997/11/24/13:47:49
Speed wrote:
> Eli Zaretskii wrote:
> > On Sat, 22 Nov 1997 wolfman AT cedar DOT alberni DOT net wrote:
> > > I was wondering if DJGPP has a 32bit memcpy function (memcpy uses
> > > 8bit right?)
> > Wrong. `memcpy' in DJGPP uses 32-bit move instructions.
> So it is equivalent to a 'rep movsl'? (assuming, of course, the source,
> dest, and count are already set)
Even more. 'memcpy' is a compiler built-in function, hence additional
optimizations can be performed. So it is even possible it is faster than
'rep; movsl' on a particular machine!
--
\ Vik /-_-_-_-_-_-_/
\___/ Heyndrickx /
\ /-_-_-_-_-_-_/
- Raw text -