This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Embedded Assembly and MMX in GCC


On Dec 11, 2001, "Mark Cuss" <mcuss@cdlsystems.com> wrote:

>  If I put two %'s in front of mm0, the assembler returns "bad register name
> `%%mm0` "

> With the one %, it says "suffix or operands invalid for `movq`"

> It seems that on an inline statement, I need to put only 1 % in front of reg
> names if there are no input or output variables, and 2 %'s if there are...

Ah, yes, indeed!  I had mis-read your report.  If the message comes
from the assembler, then it seems to be the case that the assembler
doesn't support the opcode you're using, or it expects it to be
written in a different way.  In either case, the GCC mailing list is
not the best place to discuss assembler issues: the binutils mailing
list is (as long as you're using GNU as :-).

-- 
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]