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, 2 of 5], Add suport for PowerPC IEEE 128-bit floating point


These patches are the PowerPC specific patches to add IEEE 128-bit support to
libgcc.  These patches need to be co-ordinated with the glibc support that
provides the software floating point emulation.  The compiler patches need to
be installed before these patches can be installed.

2014-07-15  Michael Meissner  <meissner@linux.vnet.ibm.com>

	* config.host (powerpc64*-*-linux*): Add t-float128 to PowerPC
	64-bit linux builds.

	* config/rs6000/float128-int-vsx.c: New files to support IEEE
	128-bit floating point (__float128) in PowerPC.  Two versions of
	the library support functions are built, one that passes and
	returns the IEEE 128-bit floating point in vector registers, and
	the other that passes references to the value.
	* config/rs6000/float128-vsx.c: Likewise.
	* config/rs6000/float128-int.c: Likewise.
	* config/rs6000/float128-int-gpr.c: Likewise.
	* config/rs6000/float128.c: Likewise.
	* config/rs6000/float128.h: Likewise.
	* config/rs6000/t-float128: Likewise.
	* config/rs6000/float128-gpr.c: Likewise.

	* config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): On 64-bit
	systems, use 64-bit types instead of 32-bit types.
	(_FP_W_TYPE): Likewise.
	(_FP_WS_TYPE): Likewise.
	(_FP_I_TYPE): Likewise.
	(_FP_MUL_MEAT_Q): Likewise.
	(_FP_DIV_MEAT_Q): Likewise.
	(_FP_NANFRAC_Q): Likewise.
	(TItype): Define 128-bit integer types on 64-bit systems.
	(UTItype): Likewise.

	* config/rs6000/libgcc-glibc.ver: Mark that the __float128 support
	functions need GCC 4.10 libraries.

-- 
Michael Meissner, IBM
IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA
email: meissner@linux.vnet.ibm.com, phone: +1 (978) 899-4797

Attachment: gcc-power8.patch115d
Description: Text document


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