Mail Archives: djgpp/1994/04/06/08:07:07
While browsing through the libc.a sources, I noticed that the functions of the
memxxx family (memcpy(), memset() etc.) use the byte-oriented instructions
(i.e. rep movsb, rep stosb and the like) rather than the word- or double-word
oriented variations. Is this intentional? Won't the operation be sped-up two-
or four-fold by using movsd/stosd instructions?
And while on this theme, let me ask (maybe not DJGCC, but GCC) question: how,
if at all, can I ask GCC to produce these functions as inline (i.e. assembly-
language macros or built-in functions)?
Thanks,
Eli Zaretskii
- Raw text -