This is the mail archive of the gcc-help@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]

problem in extended asm


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


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