[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100215073405.GB20456@atrey.karlin.mff.cuni.cz>
Date: Mon, 15 Feb 2010 08:34:05 +0100
From: Pavel Machek <pavel@....cz>
To: Benjamin Herrenschmidt <benh@...nel.crashing.org>
Cc: paulus@...ba.org, linuxppc-dev@...abs.org,
kernel list <linux-kernel@...r.kernel.org>
Subject: Re: register long sp asm("r1") incorrect
> On Tue, 2010-02-09 at 16:24 +0100, Pavel Machek wrote:
> > ...according to gcc docs, sp should be global, or placement in
> > register is not guaranteed (except at asm boundaries, but there are
> > none).
>
> Sorry I'm not sure I grok what you mean.
Well, according to gcc doscs and my experience, local "register int
__asm()" variables only work by accident (or not at all).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists