[Bug libquadmath/81848] Add PowerPC support to libquadmath
meissner at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 1 22:11:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81848
--- Comment #1 from Michael Meissner <meissner at gcc dot gnu.org> ---
Author: meissner
Date: Fri Sep 1 22:10:57 2017
New Revision: 251613
URL: https://gcc.gnu.org/viewcvs?rev=251613&root=gcc&view=rev
Log:
2017-09-01 Michael Meissner <meissner@linux.vnet.ibm.com>
PR libquadmath/81848
* configure.ac (powerpc*-linux*): Use attribute mode KC to create
complex __float128 on PowerPC instead of attribute mode TC.
* quadmath.h (__complex128): Likewise.
* configure: Regenerate.
* math/cbrtq.c (CBRT2): Use __float128 not long double.
(CBRT4): Likewise.
(CBRT2I): Likewise.
(CBRT4I): Likewise.
* math/j0q.c (U0): Likewise.
* math/sqrtq.c (sqrtq): Don't depend on implicit conversion
between __float128, instead explicitly convert the __float128
value to long double because the PowerPC does not allow __float128
and long double in the same expression.
Modified:
trunk/libquadmath/ChangeLog
trunk/libquadmath/configure
trunk/libquadmath/configure.ac
trunk/libquadmath/math/cbrtq.c
trunk/libquadmath/math/j0q.c
trunk/libquadmath/math/sqrtq.c
trunk/libquadmath/quadmath.h
More information about the Gcc-bugs
mailing list