Optimized arm string routines
Jeff Johnston
jjohnstn@redhat.com
Thu Jan 22 17:54:00 GMT 2009
Ralf Corsepius wrote:
> Jeff Johnston wrote:
>> Patch applied with updated strcpy.c.
>>
>> Did you ever manage to look at the problem from before Christmas re:
>> thumb-2 and crt0.S init_hooks? I was hoping you might come up with a
>> solution that would work for all involved.
>
> Is there are way to (optionally) force newlib to use the generic
> versions instead of the "optimized versions" below "machine"?
>
No, there isn't any such option presently. If the optimized versions
are not as good as the generic, then they should be dropped, period.
The whole point is that the machine directory overrides generic versions
and they should only be provided if they are better.
> From my experience, in longer terms, such optimized (asm) versions
> tend to break/rot. In such occasions, falling back to the generic
> versions is quite handy.
>
I could see this perhaps being a useful testing option to verify the
validity and performance of the machine directory versions, but if the
routines are broken they should either be fixed asap or dropped.
-- Jeff J.
More information about the Newlib
mailing list