This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Avoiding _divsi3 call during ld.so bootstrap


On Wed, Apr 04, 2007 at 12:18:22PM -0700, Bob Wilson wrote:
> The following line in elf_dynamic_do_rel in elf/do-rel.h is  
> generating a call to _divsi3:
> 
>       r = r + MIN (nrelative, relsize / sizeof (ElfW(Rel)));

Do you not have a umulsi3_highpart insn?  The compiler should
be able to convert this away from a real divide operation...


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]