[PATCH] Rework sparc PIC macros so crt{i,n}.S can use them too.

David Miller davem@davemloft.net
Mon Feb 20 18:29:00 GMT 2012


From: Richard Henderson <rth@twiddle.net>
Date: Mon, 20 Feb 2012 09:13:08 -0800

> On 02/17/12 22:49, David Miller wrote:
>> --- a/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
>> +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
> ...
>> -0:	SETUP_PIC_REG(o2,g1)			\
>> +0:	SETUP_PIC_REG_LEAF(o2,g1)		\
> 
> No attempt to use RDPC for sparc64?

RDPC is insanely expensive, it flushes the entire pipeline and
then inserts a 9 cycle bubble.



More information about the Libc-alpha mailing list