delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/11/17:15:07

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Ok, I understand. The only reason I was asking about
Date: 11 Feb 2002 22:13:08 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 20
Message-ID: <a49flk$9qt$1@nets3.rz.RWTH-Aachen.DE>
References: <6e0d77f39bba940fee0e0149fb76a996 DOT 62691 AT mygate DOT mailgate DOT org> <a40i4b$oil$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <5563ab859c72dffdd2ded7c0f0edf714 DOT 62691 AT mygate DOT mailgate DOT org> <200202081742 DOT g18HgL008217 AT envy DOT delorie DOT com> <2dc1f1538db61d5178d96e753468a78a DOT 62691 AT mygate DOT mailgate DOT org>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1013465588 10077 137.226.32.75 (11 Feb 2002 22:13:08 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 11 Feb 2002 22:13:08 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Joel Saunders <jbs30000 AT aol DOT com> wrote:
> 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" )

That version appeared correct (i.e. GCC accepted it) back when Brennan
wrote that tutorial of his.  GCC has changed several times since then,
and it's those changes that broke this particular code.

IOW: you just discovered that this tutorial is outdated.
-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019