problem in extended asm

Ankit Jain ankitjain1580@yahoo.com
Mon Aug 9 17:17:00 GMT 2004


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
}
for(i=0;i<8;i++)
printf("%d",x[i])

thanks

ankit jain

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html



More information about the Gcc mailing list