Re: inline asm mmx: how to movq from memory to %mmX

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

 



"Jack Andrews" <effbiae@xxxxxxxxx> writes:

>     for (i=0; i < n; i += W) {
>         asm("movq %0 %%mm1\n\t"
>             "paddq %%mm1 %%mm0"

You are missing commas between the operands.
    movq %0, %%mm1

Instead of using inline assembler I recommend that you use the
functions in mmintrin.h.

Ian

[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