This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Rework sparc PIC macros so crt{i,n}.S can use them too.
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.