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: "'gcc'" <gcc at gcc dot gnu dot org>,"'gcc'" <gcc-help at gcc dot gnu dot org>
- Date: Mon, 9 Aug 2004 18:31:19 +0100
- Subject: RE: problem in extended asm
> -----Original Message-----
> From: gcc-owner On Behalf Of Ankit Jain
> Sent: 09 August 2004 18:10
> hi
>
> a simple question: why the followinf instruction
> dosent work in gcc
> for(i=0;i<8;i++)
> {
> asm("movq i(%1),%%mm0 \n"
> "movq %%mm0,(%0)
> :"=r"(x)
> :"r"(m)); //m is an array
> }
You forgot a closing quote.
cheers,
DaveK
--
Can't think of a witty .sigline today....