This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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....
 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]