This is the mail archive of the
mailing list for the glibc project.
Re: [RFC] Avoiding _divsi3 call during ld.so bootstrap
Richard Henderson wrote:
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...
It depends. There is a processor configuration option to support that, but not
all Xtensa processors will have it. Thanks for the suggestion anyway.
In the unlikely event that anyone has further comments, please follow-up on
libc-ports, so we don't annoy Ulrich with any more of this "embedded crap".