Re: [klibc 07/31] i386 support for klibc

From: H. Peter Anvin
Date: Wed Jun 28 2006 - 11:32:16 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/