re PR libquadmath/81848 (Add PowerPC support to libquadmath)
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Fri, 1 Sep 2017 22:10:57 +0000 (22:10 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Fri, 1 Sep 2017 22:10:57 +0000 (22:10 +0000)
commit0c949f0a1ce9cfa8c48e62628493140d60e65ea7
tree19ec6e67a88c3251f2fa78dbe04a44c337eaeaf0
parentfe920c2d9f479c2b17d6963973cf11efe0169293
re PR libquadmath/81848 (Add PowerPC support to libquadmath)

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.

From-SVN: r251613
libquadmath/ChangeLog
libquadmath/configure
libquadmath/configure.ac
libquadmath/math/cbrtq.c
libquadmath/math/j0q.c
libquadmath/math/sqrtq.c
libquadmath/quadmath.h