r256834 - in /branches/ibm/gcc-7-branch: gcc/Ch...

meissner@gcc.gnu.org meissner@gcc.gnu.org
Thu Jan 18 04:22:00 GMT 2018


Author: meissner
Date: Thu Jan 18 04:22:33 2018
New Revision: 256834

URL: https://gcc.gnu.org/viewcvs?rev=256834&root=gcc&view=rev
Log:
[gcc]
2018-01-17  Michael Meissner  <meissner@linux.vnet.ibm.com>

	Back port from trunk
	2018-01-16  Michael Meissner  <meissner@linux.vnet.ibm.com>

	* configure.ac (--with-long-double-format): Add support for the
	configuration option to change the default long double format on
	PowerPC systems.
	* config.gcc (powerpc*-linux*-*): Likewise.
	* configure: Regenerate.
	* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): If long
	double is IEEE, define __KC__ and __KF__ to allow floatn.h to be
	used without modification.

	Back port from trunk
	2018-01-17  Michael Meissner  <meissner@linux.vnet.ibm.com>

	* config/rs6000/rs6000.c (rs6000_emit_move): If we load or store a
	long double type, set the flags for noting the default long double
	type, even if we don't pass or return a long double type.

[gcc/testsuite]
2018-01-17  Michael Meissner  <meissner@linux.vnet.ibm.com>

	Back port from trunk
	2018-01-17  Michael Meissner  <meissner@linux.vnet.ibm.com>

	* gcc.target/powerpc/gnuattr1.c: New test to make sure we set the
	appropriate .gnu_attribute for the long double type, if we use the
	long double type, but do not generate any calls.
	* gcc.target/powerpc/gnuattr2.c: Likewise.
	* gcc.target/powerpc/gnuattr3.c: Likewise.

[libgcc]
2018-01-16  Michael Meissner  <meissner@linux.vnet.ibm.com>

	Back port from trunk
	2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>

	* config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
	__ibm128, instead of trying to use long double.
	(CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
	accomidate -mabi=ieeelongdouble multilibs.
	(CVT_IBM128_TO_FLOAT128): Likewise.
	* config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
	the appropriate IBM extended double type.
	(__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
	(__gcc_qsub): Likewise.
	(__gcc_qmul): Likewise.
	(__gcc_qdiv): Likewise.
	(pack_ldouble): Likewise.
	(__gcc_qneg): Likewise.
	(__gcc_qeq): Likewise.
	(__gcc_qne): Likewise.
	(__gcc_qge): Likewise.
	(__gcc_qle): Likewise.
	(__gcc_stoq): Likewise.
	(__gcc_dtoq): Likewise.
	(__gcc_itoq): Likewise.
	(__gcc_utoq): Likewise.
	(__gcc_qunord): Likewise.
	* config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
	quad-float128.h for the definitions.
	(COPYSIGN): Use the f128 version instead of the q version.
	(INFINITY): Likewise.
	(__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
	* config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
	quad-float128.h for the definitions.
	(COPYSIGN): Use the f128 version instead of the q version.
	(INFINITY): Likewise.
	(FABS): Likewise.
	(__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
	* config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
	* config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.


Added:
    branches/ibm/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/gnuattr1.c
    branches/ibm/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/gnuattr2.c
    branches/ibm/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/gnuattr3.c
Modified:
    branches/ibm/gcc-7-branch/gcc/ChangeLog.ibm
    branches/ibm/gcc-7-branch/gcc/config.gcc
    branches/ibm/gcc-7-branch/gcc/config/rs6000/rs6000-c.c
    branches/ibm/gcc-7-branch/gcc/config/rs6000/rs6000.c
    branches/ibm/gcc-7-branch/gcc/configure
    branches/ibm/gcc-7-branch/gcc/configure.ac
    branches/ibm/gcc-7-branch/gcc/testsuite/ChangeLog.ibm
    branches/ibm/gcc-7-branch/libgcc/ChangeLog.ibm
    branches/ibm/gcc-7-branch/libgcc/config/rs6000/_divkc3.c
    branches/ibm/gcc-7-branch/libgcc/config/rs6000/_mulkc3.c
    branches/ibm/gcc-7-branch/libgcc/config/rs6000/extendkftf2-sw.c
    branches/ibm/gcc-7-branch/libgcc/config/rs6000/ibm-ldouble.c
    branches/ibm/gcc-7-branch/libgcc/config/rs6000/quad-float128.h
    branches/ibm/gcc-7-branch/libgcc/config/rs6000/trunctfkf2-sw.c



More information about the Gcc-cvs mailing list