This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add word-sized conversion functions to libgcc2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]