problem in extended asm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux