X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Joel Saunders" Newsgroups: comp.os.msdos.djgpp Subject: Ok, I understand. The only reason I was asking about Date: Sat, 9 Feb 2002 03:45:46 +0000 (UTC) Organization: Mailgate.ORG Server - http://www.Mailgate.ORG Lines: 19 Message-ID: <2dc1f1538db61d5178d96e753468a78a.62691@mygate.mailgate.org> References: <6e0d77f39bba940fee0e0149fb76a996 DOT 62691 AT mygate DOT mailgate DOT org> <5563ab859c72dffdd2ded7c0f0edf714 DOT 62691 AT mygate DOT mailgate DOT org> <200202081742 DOT g18HgL008217 AT envy DOT delorie DOT com> NNTP-Posting-Host: spider-mtc-ti074.proxy.aol.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.mailgate.org 1013203820 3142 64.12.101.184 (Sat Feb 9 04:45:46 2002) X-Complaints-To: abuse AT mailgate DOT org NNTP-Posting-Date: Sat, 9 Feb 2002 03:45:46 +0000 (UTC) Injector-Info: news.mailgate.org; posting-host=spider-mtc-ti074.proxy.aol.com; posting-account=62691; posting-date=1013203820 User-Agent: Mailgate Web Server X-URL: http://mygate.mailgate.org/mynews/comp/comp.os.msdos.djgpp/2dc1f1538db61d5178d96e753468a78a.62691%40mygate.mailgate.org To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com the clobber list is because the place where I got the example http://www.delorie.com/djgpp/doc/brennan/brennan_att_inline_djgpp.html had #define rep_movsl(src, dest, numwords) \ __asm__ __volatile__ ( \ "cld\n\t" \ "rep\n\t" \ "movsl" \ : : "S" (src), "D" (dest), "c" (numwords) \ : "%ecx", "%esi", "%edi" ) Helpful Hint: If you say memcpy() with a constant length parameter, GCC will inline it to a rep movsl like above. But if you need a variable length version that inlines and you're always moving dwords, there ya go. -- Posted via Mailgate.ORG Server - http://www.Mailgate.ORG