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 Dec 11, 2001, "Mark Cuss" <mcuss@cdlsystems.com> wrote:
> __asm__("movq $1, %mm0);
I suppose you're missing a `"' after `%mm0'.
Note that `%' is an active character in inline assembly, mostly like
printf. If you want a `%' to get through to the output assembly,
double it.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me