[RFC] Avoiding _divsi3 call during ld.so bootstrap

Richard Henderson rth@twiddle.net
Thu Apr 5 02:36:00 GMT 2007


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~



More information about the Libc-alpha mailing list