libgcc: strange optimization
Hans-Peter Nilsson
hp@bitrange.com
Thu Aug 4 13:04:00 GMT 2011
On Thu, 4 Aug 2011, Andreas Schwab wrote:
> Hans-Peter Nilsson <hp@bitrange.com> writes:
>
> > To make sure, it'd be nice if someone could perhaps grep an
> > entire GNU/Linux-or-other distribution including the kernel for
> > uses of asm-declared *local* registers that don't directly feed
> > into asms and not being the stack-pointer?
>
> One frequent candidate is the global pointer.
Yes, that too, but it's usually fixed isn't it? What I really
meant was "not being a fixed register" but I don't think many
willing to grep a whole distro can tell which registers in which
gcc port are fixed and remember to look for uses of
"-ffixed-reg-".
brgds, H-P
More information about the Gcc
mailing list