Embedded Assembly and MMX in GCC
Alexandre Oliva
aoliva@redhat.com
Tue Dec 11 12:35:00 GMT 2001
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
More information about the Gcc
mailing list