This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Embedded Assembly and MMX in GCC
On Tue, Dec 11, 2001 at 11:30:39AM -0700, Mark Cuss wrote:
>
> __asm__("movq $1, %mm0");
>
> The assembler says "suffix or operands invalid for 'mov1' "
I think there is a problem with your assembler, but I am
not enough of an assembler guru to say what.
This works for me with gcc 3.0.2 and binutils 2.10.91.0.2-3:
__asm__("movq %mm2,%mm0");
I recommend you look at the tutorials on:
http://www.linuxassembly.org
And also the binutils mailing list:
http://sources.redhat.com/binutils/
--
Craig Rodrigues
http://www.gis.net/~craigr
rodrigc@mediaone.net