[klibc] [klibc 07/31] i386 support for klibc
H. Peter Anvin
hpa at zytor.com
Wed Jun 28 08:33:27 PDT 2006
Jan Engelhardt wrote:
>> usr/klibc/arch/i386/libgcc/__ashldi3.S | 29 +++++++
>> usr/klibc/arch/i386/libgcc/__ashrdi3.S | 29 +++++++
>> usr/klibc/arch/i386/libgcc/__lshrdi3.S | 29 +++++++
>> usr/klibc/arch/i386/libgcc/__muldi3.S | 34 ++++++++
>> usr/klibc/arch/i386/libgcc/__negdi2.S | 21 +++++
>
> No divdi3?
The i386 ones are a bit special... usually the reason I have added
libgcc functions is that on some architectures, gcc has various problems
linking with libgcc in some configurations. That is not the case on
i386, but some of the libgcc functions are *way* bigger than the need to
be (overall, the quality of code in libgcc seems horrid, across
architectures.)
Since i386 is such an important architecture I added a handful of
assembly functions for stuff that could be done in a very small amount
of space.
-hpa
More information about the klibc
mailing list