Re: Error compiling 2.4 with CVS gcc on Athlon
H. Peter Anvin (hpa@zytor.com)
2 Jan 2001 13:55:03 -0800
Followup to: <20010102123913.A19554@twiddle.net>
By author: Richard Henderson <rth@twiddle.net>
In newsgroup: linux.dev.kernel
>
> On Tue, Jan 02, 2001 at 03:12:37PM -0500, Ghadi Shayban wrote:
> > {standard input}: Assembler messages:
> > {standard input}:139: Error: bad register name `%%mm0'
>
> This is, in fact, a compiler bug. Somehow the "%%" in the
> source didn't print as "%" as expected.
>
Actually, gcc doesn't do % expansion (and hence %% -> %) if there are
no :'s in the asm() statement. I don't know if that's the issue here,
though.
-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/