gcc/libquadmath/math
Jakub Jelinek 3ac02e6750 libquadmath: Fix up libquadmath/math/sqrtq.c compilation in some powerpc* configurations [PR116007]
My PR114623 change started using soft-fp.h and quad.h for the sqrtq implementation.
Unfortunately, that seems to fail building in some powerpc* configurations, where
TFmode isn't available.
quad.h has:
 #ifndef TFtype
 typedef float TFtype __attribute__ ((mode (TF)));
 #endif
and uses TFtype.  quad.h has:
 /* Define the complex type corresponding to __float128
    ("_Complex __float128" is not allowed) */
 #if (!defined(_ARCH_PPC)) || defined(__LONG_DOUBLE_IEEE128__)
 typedef _Complex float __attribute__((mode(TC))) __complex128;
 #else
 typedef _Complex float __attribute__((mode(KC))) __complex128;
 #endif
with the conditional and KCmode use added during porting of libquadmath
to powerpc*, so I've just defined TFtype for powerpc when __LONG_DOUBLE_IEEE128__
isn't defined; I could define it to float __attribute__ ((mode (KF))) but it
seemed easier to just define it to __float128 which should do the same thing.

2024-08-03  Jakub Jelinek  <jakub@redhat.com>

	PR target/116007
	* math/sqrtq.c (TFtype): For PowerPC without __LONG_DOUBLE_IEEE128__
	define to __float128 before including soft-fp.h and quad.h.
2024-08-03 20:37:54 +02:00
..
acoshq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
acosq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
asinhq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
asinq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
atan2q.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
atanhq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
atanq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
cacoshq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
cacosq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
casinhq_kernel.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
casinhq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
casinq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
catanhq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
catanq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
cbrtq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
ccoshq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
ceilq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
cexpq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
cimagq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
clog10q.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
clogq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
complex.c
conjq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
copysignq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
coshq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
cosq_kernel.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
cosq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
cprojq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
crealq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
csinhq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
csinq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
csqrtq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
ctanhq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
ctanq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
erfq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
exp2q.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
expm1q.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
expq_table.h Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
expq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
fabsq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
fdimq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
finiteq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
floorq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
fmaq.c Update libquadmath fmaq from glibc, fix nanq issues. 2018-11-07 13:49:03 +00:00
fmaxq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
fminq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
fmodq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
frexpq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
hypotq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
ilogbq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
isinfq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
isnanq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
issignalingq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
j0q.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
j1q.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
jnq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
ldexpq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
lgammaq_neg.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
lgammaq_product.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
lgammaq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
llrintq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
llroundq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
log1pq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
log2q.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
log10q.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
logbq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
logq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
lrintq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
lroundq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
modfq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
nanq.c Update libquadmath fmaq from glibc, fix nanq issues. 2018-11-07 13:49:03 +00:00
nearbyintq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
nextafterq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
powq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
rem_pio2q.c
remainderq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
remquoq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
rintq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
roundq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
scalblnq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
scalbnq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
signbitq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
sincos_table.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
sincosq_kernel.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
sincosq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
sinhq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
sinq_kernel.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
sinq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
sqrtq.c libquadmath: Fix up libquadmath/math/sqrtq.c compilation in some powerpc* configurations [PR116007] 2024-08-03 20:37:54 +02:00
tanhq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
tanq_kernel.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
tanq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
tgammaq_product.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
tgammaq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
truncq.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00
x2y2m1q.c Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686). 2018-11-05 23:03:55 +00:00