This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: problem in extended asm
- From: "Dave Korn" <dk at artimi dot com>
- To: "'Denis Zaitsev'" <zzz at anda dot ru>,"'Bernardo Innocenti'" <bernie at develer dot com>
- Cc: "'gcc'" <gcc at gcc dot gnu dot org>,"'gcc'" <gcc-help at gcc dot gnu dot org>
- Date: Wed, 11 Aug 2004 10:29:42 +0100
- Subject: RE: problem in extended asm
> -----Original Message-----
> From: gcc-owner On Behalf Of Dave Korn
> Sent: 11 August 2004 10:03
> > > >>for(i=0;i<8;i++)
> > > >>{
> > > >>asm("movq i(%1),%%mm0 \n"
> > > >> "movq %%mm0,(%0)
> > > >> :"=r"(x)
> > > >> :"r"(m)); //m is an array
> > > >>}
>
> OK then, is it because it writes to the output before
> consuming all the inputs?
D'oh. Not in that non-intel syntax it doesn't. Ignore that last post,
please.....
cheers,
DaveK
--
Can't think of a witty .sigline today....