[PATCH] Add word-sized conversion functions to libgcc2

Ian Lance Taylor ian@airs.com
Tue May 16 11:44:00 GMT 2006


Adam Nemet <anemet@caviumnetworks.com> writes:

> 	* Makefile.in (LIB2FUNCS_OPT): New variable.
> 	(libgcc.mk): PAss it to mklibgcc.
> 	* mklibgcc.in (lib2funcs): Append $LIB2FUNCS_OPT.
> 	* libgcc2.h: Add support for new LIB2FUNCS fixsfsi, fixdfsi,
> 	fixunssfhi, fixunsdfhi, fixunssfsi, fixunsdfsi, floatsisf,
> 	floatsidf, floatunsisf and floatunsidf.  Use the fixuns*di
> 	template for fixunssfsi and fixunsdfsi.
> 	* config/mips/t-mips (LIB2FUNCS_OPT): Define it.

I can't approve this patch, but it looks OK to me.  The libgcc2.c file
is a bit of a mess these days, in that the function names no longer
mean what they say.  But this patch doesn't make that any worse, it
just adds some more cases.

Ian



More information about the Gcc-patches mailing list