[Patch, AVR]: PR49313, fix PR29524

Denis Chertykov chertykov@gmail.com
Wed Jun 15 10:46:00 GMT 2011


2011/6/15 Georg-Johann Lay <avr@gjlay.de>:
> This is a patch that implements some libgcc functions in assembler.
> The functions are used only very seldom but if, they lead to an
> unpleasant waste of resource. For example, some SF functions
> eventually lead to __clz_tab being dragged in (PR29524).
>
> This patch avoids that by straight forward assembler implementation of
> functions that are easy to implement.
>
> Tested without regression. Moreover, I tested functions in some
> self-written code against the old C-implementation. HI/QI functions
> tested for all possible inputs.
>

Approved for AVR.
May be you need another approval for longlong.h

Denis.



More information about the Gcc-patches mailing list