| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
subdir := math |
| 21 |
|
| 22 |
include ../Makeconfig |
| 23 |
|
| 24 |
|
| 25 |
headers := \ |
| 26 |
bits/cmathcalls.h \ |
| 27 |
bits/fenv.h \ |
| 28 |
bits/floatn-common.h \ |
| 29 |
bits/floatn.h \ |
| 30 |
bits/flt-eval-method.h \ |
| 31 |
bits/fp-fast.h \ |
| 32 |
bits/fp-logb.h \ |
| 33 |
bits/iscanonical.h \ |
| 34 |
bits/libm-simd-decl-stubs.h \ |
| 35 |
bits/long-double.h \ |
| 36 |
bits/math-vector.h \ |
| 37 |
bits/mathcalls-helper-functions.h \ |
| 38 |
bits/mathcalls-macros.h \ |
| 39 |
bits/mathcalls-narrow.h \ |
| 40 |
bits/mathcalls.h \ |
| 41 |
bits/mathdef.h \ |
| 42 |
complex.h \ |
| 43 |
fenv.h \ |
| 44 |
finclude/math-vector-fortran.h \ |
| 45 |
fpu_control.h \ |
| 46 |
math.h \ |
| 47 |
tgmath.h \ |
| 48 |
# headers |
| 49 |
|
| 50 |
|
| 51 |
aux := \ |
| 52 |
fpu_control \ |
| 53 |
setfpucw \ |
| 54 |
# aux |
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
extra-libs := libm |
| 59 |
extra-libs-others = $(extra-libs) |
| 60 |
|
| 61 |
libm-support = \ |
| 62 |
fclrexcpt \ |
| 63 |
fedisblxcpt \ |
| 64 |
feenablxcpt \ |
| 65 |
fegetenv \ |
| 66 |
fegetexcept \ |
| 67 |
fegetmode \ |
| 68 |
fegetround \ |
| 69 |
feholdexcpt \ |
| 70 |
fesetenv \ |
| 71 |
fesetexcept \ |
| 72 |
fesetmode\ |
| 73 |
fesetround \ |
| 74 |
fetestexceptflag \ |
| 75 |
feupdateenv \ |
| 76 |
fgetexcptflg \ |
| 77 |
fraiseexcpt \ |
| 78 |
fsetexcptflg \ |
| 79 |
ftestexcept \ |
| 80 |
s_lib_version \ |
| 81 |
s_matherr \ |
| 82 |
s_signgam \ |
| 83 |
# libm-support |
| 84 |
|
| 85 |
|
| 86 |
|
| 87 |
gen-libm-calls = \ |
| 88 |
cabsF \ |
| 89 |
cargF \ |
| 90 |
cimagF \ |
| 91 |
conjF \ |
| 92 |
crealF \ |
| 93 |
e_exp2F \ |
| 94 |
e_scalbF \ |
| 95 |
k_casinhF \ |
| 96 |
k_casinhF \ |
| 97 |
s_acospiF \ |
| 98 |
s_asinpiF \ |
| 99 |
s_atan2piF \ |
| 100 |
s_atanpiF \ |
| 101 |
s_cacosF \ |
| 102 |
s_cacoshF \ |
| 103 |
s_canonicalizeF \ |
| 104 |
s_casinF \ |
| 105 |
s_casinhF \ |
| 106 |
s_catanF \ |
| 107 |
s_catanhF \ |
| 108 |
s_ccosF \ |
| 109 |
s_ccoshF \ |
| 110 |
s_cexpF \ |
| 111 |
s_clog10F \ |
| 112 |
s_clogF \ |
| 113 |
s_compoundnF \ |
| 114 |
s_cospiF \ |
| 115 |
s_cpowF \ |
| 116 |
s_cprojF \ |
| 117 |
s_csinF \ |
| 118 |
s_csinhF \ |
| 119 |
s_csinhF \ |
| 120 |
s_csqrtF \ |
| 121 |
s_ctanF \ |
| 122 |
s_ctanhF \ |
| 123 |
s_exp10m1F \ |
| 124 |
s_exp2m1F \ |
| 125 |
s_fdimF \ |
| 126 |
s_fmaxF \ |
| 127 |
s_fmaximumF \ |
| 128 |
s_fmaximum_magF \ |
| 129 |
s_fmaximum_mag_numF \ |
| 130 |
s_fmaximum_numF \ |
| 131 |
s_fmaxmagF \ |
| 132 |
s_fminF \ |
| 133 |
s_fminimumF \ |
| 134 |
s_fminimum_magF \ |
| 135 |
s_fminimum_mag_numF \ |
| 136 |
s_fminimum_numF \ |
| 137 |
s_fminmagF \ |
| 138 |
s_iseqsigF \ |
| 139 |
s_log10p1F \ |
| 140 |
s_log2p1F \ |
| 141 |
s_nanF \ |
| 142 |
s_nextdownF \ |
| 143 |
s_pownF \ |
| 144 |
s_powrF \ |
| 145 |
s_rootnF \ |
| 146 |
s_rsqrtF \ |
| 147 |
s_significandF \ |
| 148 |
s_sinpiF \ |
| 149 |
s_tanpiF \ |
| 150 |
w_acosF \ |
| 151 |
w_acoshF \ |
| 152 |
w_asinF \ |
| 153 |
w_atan2F \ |
| 154 |
w_atanhF \ |
| 155 |
w_coshF \ |
| 156 |
w_exp10F \ |
| 157 |
w_exp2F \ |
| 158 |
w_expF \ |
| 159 |
w_fmodF \ |
| 160 |
w_hypotF \ |
| 161 |
w_ilogbF \ |
| 162 |
w_j0F \ |
| 163 |
w_j1F \ |
| 164 |
w_jnF \ |
| 165 |
w_lgammaF \ |
| 166 |
w_lgammaF_r \ |
| 167 |
w_llogbF \ |
| 168 |
w_log10F \ |
| 169 |
w_log1pF \ |
| 170 |
w_log2F \ |
| 171 |
w_logF \ |
| 172 |
w_powF \ |
| 173 |
w_remainderF \ |
| 174 |
w_scalbF \ |
| 175 |
w_scalblnF \ |
| 176 |
w_sinhF \ |
| 177 |
w_sqrtF \ |
| 178 |
w_tgammaF \ |
| 179 |
# gen-libm-calls |
| 180 |
|
| 181 |
libm-calls = \ |
| 182 |
$(calls:s_%=m_%) \ |
| 183 |
$(gen-libm-calls) \ |
| 184 |
e_acosF \ |
| 185 |
e_acoshF \ |
| 186 |
e_asinF \ |
| 187 |
e_atan2F \ |
| 188 |
e_atanhF \ |
| 189 |
e_coshF \ |
| 190 |
e_exp10F \ |
| 191 |
e_expF \ |
| 192 |
e_fmodF \ |
| 193 |
e_gammaF_r \ |
| 194 |
e_hypotF \ |
| 195 |
e_ilogbF \ |
| 196 |
e_j0F \ |
| 197 |
e_j1F \ |
| 198 |
e_jnF \ |
| 199 |
e_lgammaF_r \ |
| 200 |
e_log10F \ |
| 201 |
e_log2F \ |
| 202 |
e_logF \ |
| 203 |
e_powF \ |
| 204 |
e_remainderF \ |
| 205 |
e_sinhF \ |
| 206 |
e_sqrtF \ |
| 207 |
k_tanF \ |
| 208 |
s_asinhF \ |
| 209 |
s_atanF \ |
| 210 |
s_cbrtF \ |
| 211 |
s_ceilF \ |
| 212 |
s_compat_fromfpF \ |
| 213 |
s_compat_fromfpxF \ |
| 214 |
s_compat_ufromfpF \ |
| 215 |
s_compat_ufromfpxF \ |
| 216 |
s_cosF \ |
| 217 |
s_erfF \ |
| 218 |
s_erfcF \ |
| 219 |
s_expm1F \ |
| 220 |
s_fabsF \ |
| 221 |
s_floorF \ |
| 222 |
s_fmaF \ |
| 223 |
s_fpclassifyF \ |
| 224 |
s_fromfpF \ |
| 225 |
s_fromfpxF \ |
| 226 |
s_getpayloadF \ |
| 227 |
s_issignalingF \ |
| 228 |
s_llrintF \ |
| 229 |
s_llroundF \ |
| 230 |
s_log1pF \ |
| 231 |
s_logbF \ |
| 232 |
s_lrintF \ |
| 233 |
s_lroundF \ |
| 234 |
s_nearbyintF \ |
| 235 |
s_nextafterF \ |
| 236 |
s_nexttowardF \ |
| 237 |
s_nextupF \ |
| 238 |
s_remquoF \ |
| 239 |
s_rintF \ |
| 240 |
s_roundF \ |
| 241 |
s_roundevenF \ |
| 242 |
s_scalblnF \ |
| 243 |
s_setpayloadF \ |
| 244 |
s_setpayloadsigF \ |
| 245 |
s_sinF \ |
| 246 |
s_sincosF \ |
| 247 |
s_tanF \ |
| 248 |
s_tanhF \ |
| 249 |
s_totalorderF \ |
| 250 |
s_totalordermagF \ |
| 251 |
s_truncF \ |
| 252 |
s_ufromfpF \ |
| 253 |
s_ufromfpxF \ |
| 254 |
x2y2m1F \ |
| 255 |
# libm-calls |
| 256 |
|
| 257 |
libm-compat-calls = \ |
| 258 |
k_standardF \ |
| 259 |
w_acosF_compat \ |
| 260 |
w_acoshF_compat \ |
| 261 |
w_asinF_compat \ |
| 262 |
w_atan2F_compat \ |
| 263 |
w_atanhF_compat \ |
| 264 |
w_coshF_compat \ |
| 265 |
w_exp10F_compat \ |
| 266 |
w_exp2F_compat \ |
| 267 |
w_expF_compat \ |
| 268 |
w_fmodF_compat \ |
| 269 |
w_hypotF_compat \ |
| 270 |
w_j0F_compat \ |
| 271 |
w_j1F_compat\ |
| 272 |
w_jnF_compat \ |
| 273 |
w_lgammaF_compat2 \ |
| 274 |
w_lgammaF_r_compat \ |
| 275 |
w_lgamma_compatF \ |
| 276 |
w_log10F_compat \ |
| 277 |
w_log2F_compat \ |
| 278 |
w_logF_compat \ |
| 279 |
w_powF_compat \ |
| 280 |
w_remainderF_compat \ |
| 281 |
w_scalbF_compat \ |
| 282 |
w_sinhF_compat \ |
| 283 |
w_sqrtF_compat \ |
| 284 |
w_tgammaF_compat \ |
| 285 |
# libm-compat-calls |
| 286 |
|
| 287 |
libm-narrow-fns = \ |
| 288 |
add \ |
| 289 |
div \ |
| 290 |
fma \ |
| 291 |
mul \ |
| 292 |
sqrt \ |
| 293 |
sub \ |
| 294 |
# libm-narrow-fns |
| 295 |
libm-narrow-types-basic = \ |
| 296 |
s_f32xFf64 \ |
| 297 |
s_fF \ |
| 298 |
# libm-narrow-types-basic |
| 299 |
libm-narrow-types-ldouble-yes = \ |
| 300 |
s_dFl \ |
| 301 |
s_fFl \ |
| 302 |
# libm-narrow-types-ldouble-yes |
| 303 |
libm-narrow-types-float128-yes = \ |
| 304 |
s_f32Ff128 \ |
| 305 |
s_f64Ff128 \ |
| 306 |
s_f64xFf128 \ |
| 307 |
# libm-narrow-types-float128-yes |
| 308 |
libm-narrow-types-float128-alias-yes = \ |
| 309 |
s_f64xFf128 \ |
| 310 |
# libm-narrow-types-float128-alias-yes |
| 311 |
libm-narrow-types = \ |
| 312 |
$(libm-narrow-types-basic) \ |
| 313 |
$(libm-narrow-types-float128-$(float128-fcts)) \ |
| 314 |
$(libm-narrow-types-float128-alias-$(float128-alias-fcts)) \ |
| 315 |
$(libm-narrow-types-ldouble-$(long-double-fcts)) \ |
| 316 |
# libm-narrow-types |
| 317 |
|
| 318 |
|
| 319 |
|
| 320 |
|
| 321 |
|
| 322 |
|
| 323 |
|
| 324 |
|
| 325 |
|
| 326 |
|
| 327 |
|
| 328 |
|
| 329 |
types-basic = \ |
| 330 |
$(type-ldouble-$(long-double-fcts)) \ |
| 331 |
double \ |
| 332 |
float \ |
| 333 |
# types-basic |
| 334 |
|
| 335 |
|
| 336 |
|
| 337 |
test-types-basic = \ |
| 338 |
double \ |
| 339 |
float \ |
| 340 |
ldouble \ |
| 341 |
# test-types-basic |
| 342 |
|
| 343 |
|
| 344 |
type-ldouble-suffix := l |
| 345 |
type-ldouble-routines := \ |
| 346 |
e_rem_pio2l \ |
| 347 |
gamma_productl \ |
| 348 |
k_cosl \ |
| 349 |
k_sincosl \ |
| 350 |
k_sinl \ |
| 351 |
lgamma_negl \ |
| 352 |
lgamma_productl \ |
| 353 |
s_iscanonicall \ |
| 354 |
t_sincosl \ |
| 355 |
# type-ldouble-routines |
| 356 |
type-ldouble-yes := ldouble |
| 357 |
|
| 358 |
|
| 359 |
type-double-suffix := |
| 360 |
type-double-routines := \ |
| 361 |
branred \ |
| 362 |
e_exp_data \ |
| 363 |
e_log2_data \ |
| 364 |
e_log_data \ |
| 365 |
e_pow_log_data \ |
| 366 |
k_rem_pio2 \ |
| 367 |
math_err \ |
| 368 |
s_asincosh_data \ |
| 369 |
s_atanh_data \ |
| 370 |
s_erf_common \ |
| 371 |
s_erf_data \ |
| 372 |
s_erfc_data \ |
| 373 |
sincostab \ |
| 374 |
# type-double-routines |
| 375 |
|
| 376 |
|
| 377 |
type-float-suffix := f |
| 378 |
type-float-routines := \ |
| 379 |
e_exp2f_data \ |
| 380 |
e_log2f_data \ |
| 381 |
e_logf_data \ |
| 382 |
e_powf_log2_data \ |
| 383 |
e_sincoshf_data \ |
| 384 |
math_errf \ |
| 385 |
s_asincosf_data \ |
| 386 |
s_asincoshf_data \ |
| 387 |
s_asincospif_data \ |
| 388 |
s_sincosf_data \ |
| 389 |
s_sincospif_data \ |
| 390 |
# type-float-routines |
| 391 |
|
| 392 |
|
| 393 |
type-float128-suffix := f128 |
| 394 |
type-float128-routines := \ |
| 395 |
e_rem_pio2f128 \ |
| 396 |
gamma_productf128 \ |
| 397 |
k_cosf128 \ |
| 398 |
k_sincosf128 \ |
| 399 |
k_sinf128 \ |
| 400 |
lgamma_negf128 \ |
| 401 |
lgamma_productf128 \ |
| 402 |
t_sincosf128 \ |
| 403 |
# type-float128-routines |
| 404 |
type-float128-yes := float128 |
| 405 |
|
| 406 |
|
| 407 |
type-float64x-yes := float64x |
| 408 |
|
| 409 |
|
| 410 |
type-ibm128-suffix := l |
| 411 |
type-ibm128-yes := ibm128 |
| 412 |
|
| 413 |
types = \ |
| 414 |
$(type-float128-$(float128-fcts)) \ |
| 415 |
$(types-basic) \ |
| 416 |
# types |
| 417 |
test-types = \ |
| 418 |
$(test-types-basic) \ |
| 419 |
$(type-float128-$(float128-alias-fcts)) \ |
| 420 |
$(type-float128-$(float128-fcts)) \ |
| 421 |
$(type-float64x-$(float64x-alias-fcts)) \ |
| 422 |
$(type-ibm128-$(ibm128-fcts)) \ |
| 423 |
float32 \ |
| 424 |
float32x \ |
| 425 |
float64 \ |
| 426 |
# test-types |
| 427 |
|
| 428 |
|
| 429 |
|
| 430 |
|
| 431 |
|
| 432 |
|
| 433 |
|
| 434 |
test-type-pairs = \ |
| 435 |
$(test-type-pairs-f64xf128-$(float128-alias-fcts)) \ |
| 436 |
$(test-type-pairs-f64xf128-$(float128-fcts)) \ |
| 437 |
double-ldouble \ |
| 438 |
float-double \ |
| 439 |
float-ldouble \ |
| 440 |
float32-float32x \ |
| 441 |
float32-float64 \ |
| 442 |
float32x-float64 \ |
| 443 |
# test-type-pairs |
| 444 |
test-type-pairs-f64xf128-yes = \ |
| 445 |
float32-float128 \ |
| 446 |
float32-float64x \ |
| 447 |
float32x-float128 \ |
| 448 |
float32x-float64x \ |
| 449 |
float64-float128 \ |
| 450 |
float64-float64x \ |
| 451 |
float64x-float128 \ |
| 452 |
# test-type-pairs-f64xf128-yes |
| 453 |
|
| 454 |
|
| 455 |
|
| 456 |
type-basic-foreach = $(foreach t, $(types-basic), \ |
| 457 |
$(subst F,$(type-$(t)-suffix),$(1))) |
| 458 |
|
| 459 |
|
| 460 |
type-foreach = $(foreach t,$(types),$(subst F,$(type-$(t)-suffix),$(1))) |
| 461 |
|
| 462 |
libm-routines = $(strip $(libm-support) \ |
| 463 |
$(call type-basic-foreach, \ |
| 464 |
$(libm-compat-calls)) \ |
| 465 |
$(call type-foreach, $(libm-calls)) \ |
| 466 |
$(foreach t, $(types), $(type-$(t)-routines))) \ |
| 467 |
$(foreach f,$(libm-narrow-fns), \ |
| 468 |
$(subst F,$(f),$(libm-narrow-types))) |
| 469 |
|
| 470 |
|
| 471 |
|
| 472 |
|
| 473 |
|
| 474 |
|
| 475 |
calls = \ |
| 476 |
$(gen-calls) \ |
| 477 |
s_copysignF \ |
| 478 |
s_finiteF \ |
| 479 |
s_frexpF \ |
| 480 |
s_isinfF \ |
| 481 |
s_isnanF \ |
| 482 |
s_modfF \ |
| 483 |
s_scalbnF \ |
| 484 |
s_signbitF \ |
| 485 |
# calls |
| 486 |
gen-calls = s_ldexpF |
| 487 |
generated += $(foreach s,.c .S,$(call type-foreach, $(calls:s_%=m_%$(s)))) |
| 488 |
routines = $(call type-foreach, $(calls)) |
| 489 |
|
| 490 |
|
| 491 |
libm-shared-only-routines = $(call type-foreach, $(calls:s_%=m_%)) |
| 492 |
|
| 493 |
ifeq ($(build-mathvec),yes) |
| 494 |
|
| 495 |
|
| 496 |
install-lib-ldscripts := \ |
| 497 |
libm.a \ |
| 498 |
libm.so \ |
| 499 |
# install-lib-ldscripts |
| 500 |
install-others = \ |
| 501 |
$(inst_libdir)/libm.a \ |
| 502 |
$(inst_libdir)/libm.so \ |
| 503 |
# install-others |
| 504 |
$(inst_libdir)/libm.so: $(common-objpfx)format.lds \ |
| 505 |
$(libm) \ |
| 506 |
$(libmvec) \ |
| 507 |
$(+force) |
| 508 |
(echo '/* GNU ld script'; echo '*/';\ |
| 509 |
cat $<; \ |
| 510 |
echo 'GROUP ( $(slibdir)/libm.so$(libm.so-version) ' \ |
| 511 |
'AS_NEEDED ( $(slibdir)/libmvec.so$(libmvec.so-version) ) )' \ |
| 512 |
) > [email protected] |
| 513 |
mv -f [email protected] $@ |
| 514 |
|
| 515 |
$(inst_libdir)/libm-$(version).a: $(objpfx)libm.a \ |
| 516 |
$(+force) |
| 517 |
$(do-install) |
| 518 |
|
| 519 |
$(inst_libdir)/libm.a: $(common-objpfx)format.lds \ |
| 520 |
$(inst_libdir)/libm-$(version).a \ |
| 521 |
$(objpfx)../mathvec/libmvec.a \ |
| 522 |
$(+force) |
| 523 |
(echo '/* GNU ld script'; echo '*/';\ |
| 524 |
cat $<; \ |
| 525 |
echo 'GROUP ( $(libdir)/libm-$(version).a $(libdir)/libmvec.a )' \ |
| 526 |
) > [email protected] |
| 527 |
mv -f [email protected] $@ |
| 528 |
endif |
| 529 |
|
| 530 |
|
| 531 |
tests = \ |
| 532 |
$(tests-static) \ |
| 533 |
bug-nextafter \ |
| 534 |
bug-nexttoward \ |
| 535 |
test-ceil-except-2 \ |
| 536 |
test-femode \ |
| 537 |
test-femode-traps \ |
| 538 |
test-fenv basic-test \ |
| 539 |
test-fenv-clear \ |
| 540 |
test-fenv-preserve \ |
| 541 |
test-fenv-return \ |
| 542 |
test-fenv-tls \ |
| 543 |
test-fesetexcept \ |
| 544 |
test-fesetexcept-traps \ |
| 545 |
test-fetestexceptflag \ |
| 546 |
test-fexcept \ |
| 547 |
test-fexcept-traps \ |
| 548 |
test-floor-except-2 \ |
| 549 |
test-flt-eval-method \ |
| 550 |
test-fp-ilogb-constants \ |
| 551 |
test-fp-llogb-constants \ |
| 552 |
test-fpucw \ |
| 553 |
test-fpucw-ieee \ |
| 554 |
test-iseqsig-excess-precision \ |
| 555 |
test-iszero-excess-precision \ |
| 556 |
test-matherr-3 \ |
| 557 |
test-misc \ |
| 558 |
test-nan-const \ |
| 559 |
test-nan-overflow \ |
| 560 |
test-nan-payload \ |
| 561 |
test-narrow-macros \ |
| 562 |
test-nearbyint-except \ |
| 563 |
test-nearbyint-except-2 \ |
| 564 |
test-powl \ |
| 565 |
test-signgam-uchar \ |
| 566 |
test-signgam-uchar-init \ |
| 567 |
test-signgam-uint \ |
| 568 |
test-signgam-uint-init \ |
| 569 |
test-signgam-ullong \ |
| 570 |
test-signgam-ullong-init \ |
| 571 |
test-snan \ |
| 572 |
test-trunc-except-2 \ |
| 573 |
tst-CMPLX \ |
| 574 |
tst-CMPLX2 \ |
| 575 |
tst-definitions \ |
| 576 |
# tests |
| 577 |
tests-tgmath = \ |
| 578 |
bug-tgmath1 \ |
| 579 |
test-tgmath \ |
| 580 |
test-tgmath-int \ |
| 581 |
test-tgmath-ret \ |
| 582 |
test-tgmath2 \ |
| 583 |
# tests-tgmath |
| 584 |
ifneq ($(config-cflags-signaling-nans),) |
| 585 |
tests += \ |
| 586 |
test-fe-snans-always-signal \ |
| 587 |
# tests |
| 588 |
endif |
| 589 |
tests-static = \ |
| 590 |
test-fpucw-ieee-static \ |
| 591 |
test-fpucw-static \ |
| 592 |
test-signgam-uchar-init-static \ |
| 593 |
test-signgam-uchar-static \ |
| 594 |
test-signgam-uint-init-static \ |
| 595 |
test-signgam-uint-static \ |
| 596 |
test-signgam-ullong-init-static \ |
| 597 |
test-signgam-ullong-static \ |
| 598 |
# tests-static |
| 599 |
|
| 600 |
|
| 601 |
ifeq ($(have-GLIBC_2.26)$(build-shared),yesyes) |
| 602 |
tests += \ |
| 603 |
test-matherr \ |
| 604 |
test-matherr-2 \ |
| 605 |
# tests |
| 606 |
tests-2.0 += \ |
| 607 |
test-matherr-2 \ |
| 608 |
# tests-2.0 |
| 609 |
endif |
| 610 |
|
| 611 |
|
| 612 |
|
| 613 |
tests-static += \ |
| 614 |
atest-exp \ |
| 615 |
atest-exp2 \ |
| 616 |
atest-sincos \ |
| 617 |
# tests-static |
| 618 |
|
| 619 |
ifneq (,$(CXX)) |
| 620 |
tests += \ |
| 621 |
test-math-cxx11 \ |
| 622 |
test-math-iscanonical \ |
| 623 |
test-math-iseqsig \ |
| 624 |
test-math-isinff \ |
| 625 |
test-math-issignaling \ |
| 626 |
test-math-iszero \ |
| 627 |
# tests |
| 628 |
endif |
| 629 |
|
| 630 |
libm-vec-tests = $(addprefix test-,$(libmvec-tests)) |
| 631 |
libm-test-support = $(foreach t,$(test-types),libm-test-support-$(t)) |
| 632 |
libm-test-support-static = $(foreach t,$(test-types),libm-test-support-$(t)-static) |
| 633 |
test-extras += $(libm-test-support) $(libm-test-support-static) |
| 634 |
extra-test-objs += $(addsuffix .o, $(libm-test-support)) \ |
| 635 |
$(addsuffix .o, $(libm-test-support-static)) |
| 636 |
libm-vec-test-wrappers = $(addsuffix -wrappers, $(libm-vec-tests)) |
| 637 |
test-extras += $(libm-vec-test-wrappers) |
| 638 |
extra-test-objs += $(addsuffix .o, $(libm-vec-test-wrappers)) |
| 639 |
|
| 640 |
ulps-file = $(wildcard $(sysdirs:%=%/libm-test-ulps)) |
| 641 |
|
| 642 |
space := $(subst ,, ) |
| 643 |
|
| 644 |
$(objpfx)libm-test-ulps.h: $(ulps-file) gen-libm-test.py |
| 645 |
$(make-target-directory) |
| 646 |
$(PYTHON) gen-libm-test.py -u $(subst $(space),:,$(ulps-file)) -H $@ |
| 647 |
|
| 648 |
libm-test-funcs-auto = \ |
| 649 |
acos \ |
| 650 |
acosh \ |
| 651 |
acospi \ |
| 652 |
asin \ |
| 653 |
asinh \ |
| 654 |
asinpi \ |
| 655 |
atan \ |
| 656 |
atan2 \ |
| 657 |
atan2pi \ |
| 658 |
atanh \ |
| 659 |
atanpi \ |
| 660 |
cabs \ |
| 661 |
cacos \ |
| 662 |
cacosh \ |
| 663 |
carg \ |
| 664 |
casin \ |
| 665 |
casinh \ |
| 666 |
catan \ |
| 667 |
catanh \ |
| 668 |
cbrt \ |
| 669 |
ccos \ |
| 670 |
ccosh \ |
| 671 |
cexp \ |
| 672 |
clog \ |
| 673 |
clog10 \ |
| 674 |
compoundn \ |
| 675 |
cos \ |
| 676 |
cosh \ |
| 677 |
cospi \ |
| 678 |
cpow \ |
| 679 |
csin \ |
| 680 |
csinh \ |
| 681 |
csqrt \ |
| 682 |
ctan \ |
| 683 |
ctanh \ |
| 684 |
erf \ |
| 685 |
erfc \ |
| 686 |
exp \ |
| 687 |
exp2 \ |
| 688 |
exp10 \ |
| 689 |
exp10m1 \ |
| 690 |
exp2m1 \ |
| 691 |
expm1 \ |
| 692 |
fma \ |
| 693 |
hypot \ |
| 694 |
j0 \ |
| 695 |
j1 \ |
| 696 |
jn \ |
| 697 |
lgamma \ |
| 698 |
log \ |
| 699 |
log2 \ |
| 700 |
log10 \ |
| 701 |
log10p1 \ |
| 702 |
log1p \ |
| 703 |
log2p1 \ |
| 704 |
pow \ |
| 705 |
pown \ |
| 706 |
powr \ |
| 707 |
rootn \ |
| 708 |
rsqrt \ |
| 709 |
sin \ |
| 710 |
sincos \ |
| 711 |
sinh \ |
| 712 |
sinpi \ |
| 713 |
sqrt \ |
| 714 |
tan \ |
| 715 |
tanh \ |
| 716 |
tanpi \ |
| 717 |
tgamma \ |
| 718 |
y0 \ |
| 719 |
y1 \ |
| 720 |
yn \ |
| 721 |
# libm-test-funcs-auto |
| 722 |
libm-test-funcs-noauto-base = \ |
| 723 |
canonicalize \ |
| 724 |
ceil \ |
| 725 |
cimag \ |
| 726 |
conj \ |
| 727 |
copysign \ |
| 728 |
cproj \ |
| 729 |
creal \ |
| 730 |
fabs \ |
| 731 |
fdim \ |
| 732 |
floor \ |
| 733 |
fmax \ |
| 734 |
fmaximum \ |
| 735 |
fmaximum_mag \ |
| 736 |
fmaximum_mag_num \ |
| 737 |
fmaximum_num \ |
| 738 |
fmaxmag \ |
| 739 |
fmin \ |
| 740 |
fminimum \ |
| 741 |
fminimum_mag \ |
| 742 |
fminimum_mag_num \ |
| 743 |
fminimum_num \ |
| 744 |
fminmag \ |
| 745 |
fmod \ |
| 746 |
fpclassify \ |
| 747 |
frexp \ |
| 748 |
fromfp \ |
| 749 |
fromfpx \ |
| 750 |
getpayload \ |
| 751 |
ilogb \ |
| 752 |
iscanonical \ |
| 753 |
iseqsig \ |
| 754 |
isfinite \ |
| 755 |
isgreater \ |
| 756 |
isgreaterequal \ |
| 757 |
isinf \ |
| 758 |
isless \ |
| 759 |
islessequal \ |
| 760 |
islessgreater \ |
| 761 |
isnan \ |
| 762 |
isnormal \ |
| 763 |
issignaling \ |
| 764 |
issubnormal \ |
| 765 |
isunordered \ |
| 766 |
iszero \ |
| 767 |
llogb \ |
| 768 |
llrint \ |
| 769 |
llround \ |
| 770 |
logb \ |
| 771 |
lrint \ |
| 772 |
lround \ |
| 773 |
modf \ |
| 774 |
nearbyint \ |
| 775 |
nextafter \ |
| 776 |
nextdown \ |
| 777 |
nexttoward \ |
| 778 |
nextup \ |
| 779 |
remainder \ |
| 780 |
remquo \ |
| 781 |
rint \ |
| 782 |
round \ |
| 783 |
roundeven \ |
| 784 |
scalb \ |
| 785 |
scalbln \ |
| 786 |
scalbn \ |
| 787 |
setpayload \ |
| 788 |
setpayloadsig \ |
| 789 |
signbit \ |
| 790 |
significand \ |
| 791 |
totalorder \ |
| 792 |
totalordermag \ |
| 793 |
trunc \ |
| 794 |
ufromfp \ |
| 795 |
ufromfpx \ |
| 796 |
# libm-test-funcs-noauto-base |
| 797 |
libm-test-funcs-noauto = \ |
| 798 |
$(libm-test-funcs-noauto-base) \ |
| 799 |
compat_fromfp \ |
| 800 |
compat_fromfpx \ |
| 801 |
compat_totalorder \ |
| 802 |
compat_totalordermag \ |
| 803 |
compat_ufromfp \ |
| 804 |
compat_ufromfpx \ |
| 805 |
# libm-test-funcs-noauto |
| 806 |
libm-test-funcs-compat = \ |
| 807 |
compat_fromfp \ |
| 808 |
compat_fromfpx \ |
| 809 |
compat_totalorder \ |
| 810 |
compat_totalordermag \ |
| 811 |
compat_ufromfp \ |
| 812 |
compat_ufromfpx \ |
| 813 |
# libm-test-funcs-compat |
| 814 |
libm-test-funcs-narrow = \ |
| 815 |
add \ |
| 816 |
div \ |
| 817 |
fma \ |
| 818 |
mul \ |
| 819 |
sqrt \ |
| 820 |
sub \ |
| 821 |
# libm-test-funcs-narrow |
| 822 |
libm-test-funcs-all = \ |
| 823 |
$(libm-test-funcs-auto) \ |
| 824 |
$(libm-test-funcs-noauto) \ |
| 825 |
# libm-test-funcs-all |
| 826 |
libm-test-c-auto = $(foreach f,$(libm-test-funcs-auto),libm-test-$(f).c) |
| 827 |
libm-test-c-noauto = $(foreach f,$(libm-test-funcs-noauto),libm-test-$(f).c) |
| 828 |
libm-test-c-narrow = $(foreach f,$(libm-test-funcs-narrow),\ |
| 829 |
libm-test-narrow-$(f).c) |
| 830 |
generated += \ |
| 831 |
$(libm-test-c-auto) \ |
| 832 |
$(libm-test-c-narrow) \ |
| 833 |
$(libm-test-c-noauto) \ |
| 834 |
libm-test-ulps.h \ |
| 835 |
# generated |
| 836 |
|
| 837 |
libm-tests-base-normal = $(foreach t,$(test-types),test-$(t)) |
| 838 |
libm-tests-base-narrow = $(foreach t,$(test-type-pairs),test-$(t)) |
| 839 |
libm-tests-base = $(libm-tests-base-normal) $(libm-vec-tests) |
| 840 |
libm-tests-normal = $(foreach t,$(libm-tests-base-normal),\ |
| 841 |
$(foreach f,$(libm-test-funcs-all),\ |
| 842 |
$(t)-$(f))) |
| 843 |
libm-tests-narrow = $(foreach t,$(libm-tests-base-narrow),\ |
| 844 |
$(foreach f,$(libm-test-funcs-narrow),\ |
| 845 |
$(t)-$(f))) |
| 846 |
libm-tests-vector = $(foreach t,$(libmvec-tests),\ |
| 847 |
$(foreach f,$($(t)-funcs),test-$(t)-$(f))) |
| 848 |
libm-tests = $(libm-tests-normal) $(libm-tests-narrow) $(libm-tests-vector) |
| 849 |
libm-tests-compat = $(foreach t,$(libm-tests-base-normal) \ |
| 850 |
$(libm-tests-base-finite),\ |
| 851 |
$(foreach f,$(libm-test-funcs-compat),\ |
| 852 |
$(t)-$(f))) |
| 853 |
libm-tests-for-type = $(foreach f,$(libm-test-funcs-all),\ |
| 854 |
test-$(1)-$(f) test-i$(1)-$(f)) \ |
| 855 |
$(filter test-$(1)-%,$(libm-tests-vector) \ |
| 856 |
$(libm-tests-narrow)) |
| 857 |
|
| 858 |
libm-tests.o = $(addsuffix .o,$(libm-tests)) |
| 859 |
|
| 860 |
tests += $(libm-tests) |
| 861 |
generated += $(addsuffix .c,$(libm-tests)) \ |
| 862 |
$(foreach t,$(test-types),libm-test-support-$(t).c) |
| 863 |
|
| 864 |
libm-test-c-auto-obj = $(addprefix $(objpfx),$(libm-test-c-auto)) |
| 865 |
libm-test-c-noauto-obj = $(addprefix $(objpfx),$(libm-test-c-noauto)) |
| 866 |
libm-test-c-narrow-obj = $(addprefix $(objpfx),$(libm-test-c-narrow)) |
| 867 |
|
| 868 |
$(libm-test-c-noauto-obj): $(objpfx)libm-test%.c: libm-test%.inc \ |
| 869 |
gen-libm-test.py |
| 870 |
$(make-target-directory) |
| 871 |
$(PYTHON) gen-libm-test.py -c $< -a /dev/null -C $@ |
| 872 |
|
| 873 |
$(libm-test-c-auto-obj): $(objpfx)libm-test%.c: libm-test%.inc \ |
| 874 |
gen-libm-test.py \ |
| 875 |
auto-libm-test-out% |
| 876 |
$(make-target-directory) |
| 877 |
$(PYTHON) gen-libm-test.py -c $< -a auto-libm-test-out$* -C $@ |
| 878 |
|
| 879 |
$(libm-test-c-narrow-obj): $(objpfx)libm-test%.c: libm-test%.inc \ |
| 880 |
gen-libm-test.py \ |
| 881 |
auto-libm-test-out% |
| 882 |
$(make-target-directory) |
| 883 |
$(PYTHON) gen-libm-test.py -c $< -a auto-libm-test-out$* -C $@ |
| 884 |
|
| 885 |
|
| 886 |
libm-test-funcs-auto-static = \ |
| 887 |
$(libm-test-funcs-auto) \ |
| 888 |
# libm-test-funcs-auto-static |
| 889 |
libm-test-funcs-noauto-static = \ |
| 890 |
$(libm-test-funcs-noauto-base) \ |
| 891 |
# libm-test-funcs-noauto-static |
| 892 |
libm-test-funcs-narrow-static = \ |
| 893 |
$(libm-test-funcs-narrow) \ |
| 894 |
# libm-test-funcs-narrow-static |
| 895 |
libm-test-funcs-all-static = $(libm-test-funcs-auto-static) $(libm-test-funcs-noauto-static) |
| 896 |
|
| 897 |
libm-test-c-auto-static = $(foreach f,$(libm-test-funcs-auto-static),libm-test-$(f)-static.c) |
| 898 |
libm-test-c-noauto-static = $(foreach f,$(libm-test-funcs-noauto-static),libm-test-$(f)-static.c) |
| 899 |
libm-test-c-narrow-static = $(foreach f,$(libm-test-funcs-narrow-static),\ |
| 900 |
libm-test-narrow-$(f)-static.c) |
| 901 |
generated += $(libm-test-c-auto-static) $(libm-test-c-noauto-static) $(libm-test-c-narrow-static) |
| 902 |
|
| 903 |
libm-tests-normal-static = $(foreach t,$(libm-tests-base-normal),\ |
| 904 |
$(foreach f,$(libm-test-funcs-all-static),\ |
| 905 |
$(t)-$(f)-static)) |
| 906 |
libm-tests-narrow-static = $(foreach t,$(libm-tests-base-narrow-static),\ |
| 907 |
$(foreach f,$(libm-test-funcs-narrow-static),\ |
| 908 |
$(t)-$(f)-static)) |
| 909 |
libm-tests-vector-static = $(foreach t,$(libmvec-tests-static),\ |
| 910 |
$(foreach f,$($(t)-funcs),test-$(t)-$(f)-static)) |
| 911 |
libm-tests-static = $(libm-tests-normal-static) $(libm-tests-narrow-static) $(libm-tests-vector-static) |
| 912 |
libm-tests-for-type-static = $(foreach f,$(libm-test-funcs-all-static),\ |
| 913 |
test-$(1)-$(f)-static test-i$(1)-$(f)-static) \ |
| 914 |
$(filter test-$(1)-%,$(libm-tests-vector-static) \ |
| 915 |
$(libm-tests-narrow-static)) |
| 916 |
|
| 917 |
libm-tests.o += $(addsuffix .o,$(libm-tests-static)) |
| 918 |
|
| 919 |
ifeq ($(build-math-static-tests),yes) |
| 920 |
tests-static += $(libm-tests-static) |
| 921 |
generated += $(addsuffix .c,$(libm-tests)) \ |
| 922 |
$(foreach t,$(test-types),libm-test-support-$(t)-static.c) |
| 923 |
endif |
| 924 |
|
| 925 |
libm-test-c-auto-obj-static = $(addprefix $(objpfx),$(libm-test-c-auto-static)) |
| 926 |
libm-test-c-noauto-obj-static = $(addprefix $(objpfx),$(libm-test-c-noauto-static)) |
| 927 |
libm-test-c-narrow-obj-static = $(addprefix $(objpfx),$(libm-test-c-narrow-static)) |
| 928 |
|
| 929 |
|
| 930 |
.SECONDEXPANSION: |
| 931 |
$(libm-test-c-noauto-obj-static): $(objpfx)libm-test%.c: libm-test$$(subst -static,,%).inc \ |
| 932 |
gen-libm-test.py |
| 933 |
$(make-target-directory) |
| 934 |
$(PYTHON) gen-libm-test.py -c $< -a /dev/null -C $@ |
| 935 |
|
| 936 |
.SECONDEXPANSION: |
| 937 |
$(libm-test-c-auto-obj-static): $(objpfx)libm-test%.c: libm-test$$(subst -static,,%).inc \ |
| 938 |
gen-libm-test.py \ |
| 939 |
auto-libm-test-out$$(subst -static,,%) |
| 940 |
$(make-target-directory) |
| 941 |
$(PYTHON) gen-libm-test.py -c $< -a auto-libm-test-out`echo $* | sed 's/-static//'` -C $@ |
| 942 |
|
| 943 |
.SECONDEXPANSION: |
| 944 |
$(libm-test-c-narrow-obj-static): $(objpfx)libm-test%.c: libm-test$$(subst -static,,%).inc \ |
| 945 |
gen-libm-test.py \ |
| 946 |
auto-libm-test-out$$(subst -static,,%) |
| 947 |
$(make-target-directory) |
| 948 |
$(PYTHON) gen-libm-test.py -c $< -a auto-libm-test-out`echo $* | sed 's/-static//'` -C $@ |
| 949 |
|
| 950 |
|
| 951 |
|
| 952 |
|
| 953 |
$(foreach t,$(libm-tests-base),\ |
| 954 |
$(objpfx)$(t)-compat_totalorder.o): $(objpfx)libm-test-totalorder.c |
| 955 |
|
| 956 |
$(foreach t,$(libm-tests-base),\ |
| 957 |
$(objpfx)$(t)-compat_totalordermag.o): $(objpfx)libm-test-totalordermag.c |
| 958 |
|
| 959 |
|
| 960 |
tgmath3-narrow-types = \ |
| 961 |
d \ |
| 962 |
f \ |
| 963 |
f16 \ |
| 964 |
f32 \ |
| 965 |
f128 \ |
| 966 |
f32x \ |
| 967 |
f64 \ |
| 968 |
f64x \ |
| 969 |
# tgmath3-narrow-types |
| 970 |
tgmath3-narrow-macros = $(foreach t,$(tgmath3-narrow-types), \ |
| 971 |
$(foreach f,$(libm-narrow-fns),$(t)$(f))) |
| 972 |
tgmath3-macros = \ |
| 973 |
$(tgmath3-narrow-macros) \ |
| 974 |
acos \ |
| 975 |
acosh \ |
| 976 |
acospi \ |
| 977 |
asin \ |
| 978 |
asinh \ |
| 979 |
asinpi \ |
| 980 |
atan \ |
| 981 |
atan2 \ |
| 982 |
atan2pi \ |
| 983 |
atanh \ |
| 984 |
atanpi \ |
| 985 |
carg \ |
| 986 |
cbrt \ |
| 987 |
ceil \ |
| 988 |
cimag \ |
| 989 |
compoundn \ |
| 990 |
conj \ |
| 991 |
copysign \ |
| 992 |
cos \ |
| 993 |
cosh \ |
| 994 |
cospi \ |
| 995 |
cproj \ |
| 996 |
creal \ |
| 997 |
erf \ |
| 998 |
erfc \ |
| 999 |
exp \ |
| 1000 |
exp10m1 \ |
| 1001 |
exp2 \ |
| 1002 |
exp10 \ |
| 1003 |
exp2m1 \ |
| 1004 |
expm1 \ |
| 1005 |
fabs \ |
| 1006 |
fdim \ |
| 1007 |
floor \ |
| 1008 |
fma \ |
| 1009 |
fmax \ |
| 1010 |
fmaximum \ |
| 1011 |
fmaximum_mag \ |
| 1012 |
fmaximum_mag_num \ |
| 1013 |
fmaximum_num \ |
| 1014 |
fmaxmag \ |
| 1015 |
fmin \ |
| 1016 |
fminimum \ |
| 1017 |
fminimum_mag \ |
| 1018 |
fminimum_mag_num \ |
| 1019 |
fminimum_num \ |
| 1020 |
fminmag \ |
| 1021 |
fmod \ |
| 1022 |
frexp \ |
| 1023 |
fromfp \ |
| 1024 |
fromfpx \ |
| 1025 |
hypot \ |
| 1026 |
ilogb \ |
| 1027 |
ldexp \ |
| 1028 |
lgamma \ |
| 1029 |
llogb \ |
| 1030 |
llrint \ |
| 1031 |
llround \ |
| 1032 |
log \ |
| 1033 |
log10 \ |
| 1034 |
log10p1 \ |
| 1035 |
log1p \ |
| 1036 |
log2 \ |
| 1037 |
log2p1 \ |
| 1038 |
logb \ |
| 1039 |
logp1 \ |
| 1040 |
lrint \ |
| 1041 |
lround \ |
| 1042 |
nearbyint \ |
| 1043 |
nextafter \ |
| 1044 |
nextdown \ |
| 1045 |
nexttoward \ |
| 1046 |
nextup \ |
| 1047 |
pow \ |
| 1048 |
pown \ |
| 1049 |
powr \ |
| 1050 |
remainder \ |
| 1051 |
remquo \ |
| 1052 |
rint \ |
| 1053 |
rootn \ |
| 1054 |
round \ |
| 1055 |
roundeven \ |
| 1056 |
rsqrt \ |
| 1057 |
scalb \ |
| 1058 |
scalbln \ |
| 1059 |
scalbn \ |
| 1060 |
sin \ |
| 1061 |
sinh \ |
| 1062 |
sinpi \ |
| 1063 |
sqrt \ |
| 1064 |
tan \ |
| 1065 |
tanh \ |
| 1066 |
tanpi \ |
| 1067 |
tgamma \ |
| 1068 |
trunc \ |
| 1069 |
ufromfp \ |
| 1070 |
ufromfpx \ |
| 1071 |
# tgmath3-macros |
| 1072 |
tgmath3-macro-tests = $(addprefix test-tgmath3-,$(tgmath3-macros)) |
| 1073 |
ifneq ($(have-test-clang),yes) |
| 1074 |
|
| 1075 |
|
| 1076 |
|
| 1077 |
|
| 1078 |
tests-tgmath += $(tgmath3-macro-tests) |
| 1079 |
endif |
| 1080 |
tests += $(tests-tgmath) |
| 1081 |
|
| 1082 |
generated += $(addsuffix .c,$(tgmath3-macro-tests)) |
| 1083 |
|
| 1084 |
$(tgmath3-macro-tests:%=$(objpfx)%.o): CFLAGS += -fno-builtin |
| 1085 |
|
| 1086 |
$(foreach m,$(tgmath3-macros),\ |
| 1087 |
$(objpfx)test-tgmath3-$(m).c): $(objpfx)test-tgmath3-%.c: \ |
| 1088 |
gen-tgmath-tests.py |
| 1089 |
$(PYTHON) gen-tgmath-tests.py $* > $@ |
| 1090 |
|
| 1091 |
|
| 1092 |
|
| 1093 |
tests-special += $(objpfx)test-tgmath3-macro-list.out |
| 1094 |
$(objpfx)test-tgmath3-macro-list.out: gen-tgmath-tests.py |
| 1095 |
$(PYTHON) $< check-list $(tgmath3-macros) > $@; \ |
| 1096 |
$(evaluate-test) |
| 1097 |
|
| 1098 |
ifeq ($(have-test-clang),yes) |
| 1099 |
|
| 1100 |
define no-include |
| 1101 |
$(1).c-no-include-dot = yes |
| 1102 |
endef |
| 1103 |
$(foreach m,$(tests-tgmath),$(eval $(call no-include,$(m)))) |
| 1104 |
endif |
| 1105 |
|
| 1106 |
libm-test-fast-math-cflags = -fno-builtin -D__FAST_MATH__ -DTEST_FAST_MATH |
| 1107 |
libm-test-vec-cflags = $(libm-test-fast-math-cflags) -fno-inline \ |
| 1108 |
$(test-config-cflags-float-store) \ |
| 1109 |
-D_OPENMP=201307 -Wno-unknown-pragmas |
| 1110 |
|
| 1111 |
CFLAGS-test-double-vlen4-wrappers.c += $(double-vlen4-arch-ext-cflags) |
| 1112 |
|
| 1113 |
CFLAGS-test-double-vlen8-wrappers.c += $(double-vlen8-arch-ext-cflags) |
| 1114 |
|
| 1115 |
CFLAGS-test-float-vlen8-wrappers.c += $(float-vlen8-arch-ext-cflags) |
| 1116 |
|
| 1117 |
CFLAGS-test-float-vlen16-wrappers.c += $(float-vlen16-arch-ext-cflags) |
| 1118 |
|
| 1119 |
|
| 1120 |
|
| 1121 |
|
| 1122 |
|
| 1123 |
|
| 1124 |
|
| 1125 |
libm-test-no-inline-cflags = -fno-inline -fno-builtin \ |
| 1126 |
$(test-config-cflags-float-store) \ |
| 1127 |
$(config-cflags-signaling-nans) |
| 1128 |
CFLAGS-test-tgmath.c += -fno-builtin |
| 1129 |
|
| 1130 |
|
| 1131 |
|
| 1132 |
CFLAGS-test-tgmath2.c += -fno-builtin |
| 1133 |
CFLAGS-test-tgmath-ret.c += -fno-builtin |
| 1134 |
CFLAGS-test-powl.c += -fno-builtin |
| 1135 |
|
| 1136 |
CFLAGS-test-snan.c += $(config-cflags-signaling-nans) |
| 1137 |
|
| 1138 |
CFLAGS-test-signgam-uchar.c += -std=c99 |
| 1139 |
CFLAGS-test-signgam-uchar-init.c += -std=c99 |
| 1140 |
CFLAGS-test-signgam-uchar-static.c += -std=c99 |
| 1141 |
CFLAGS-test-signgam-uchar-init-static.c += -std=c99 |
| 1142 |
CFLAGS-test-signgam-uint.c += -std=c99 |
| 1143 |
CFLAGS-test-signgam-uint-init.c += -std=c99 |
| 1144 |
CFLAGS-test-signgam-uint-static.c += -std=c99 |
| 1145 |
CFLAGS-test-signgam-uint-init-static.c += -std=c99 |
| 1146 |
CFLAGS-test-signgam-ullong.c += -std=c99 |
| 1147 |
CFLAGS-test-signgam-ullong-init.c += -std=c99 |
| 1148 |
CFLAGS-test-signgam-ullong-static.c += -std=c99 |
| 1149 |
CFLAGS-test-signgam-ullong-init-static.c += -std=c99 |
| 1150 |
|
| 1151 |
CFLAGS-test-math-cxx11.cc += -std=c++11 |
| 1152 |
|
| 1153 |
CFLAGS-test-math-isinff.cc += -std=gnu++11 |
| 1154 |
CFLAGS-test-math-iszero.cc += -std=gnu++11 |
| 1155 |
CFLAGS-test-math-issignaling.cc += -std=gnu++11 |
| 1156 |
CFLAGS-test-math-iscanonical.cc += -std=gnu++11 |
| 1157 |
|
| 1158 |
CFLAGS-test-iszero-excess-precision.c += -fexcess-precision=standard |
| 1159 |
CFLAGS-test-iseqsig-excess-precision.c += -fexcess-precision=standard |
| 1160 |
CFLAGS-test-flt-eval-method.c += -fexcess-precision=standard |
| 1161 |
|
| 1162 |
CFLAGS-test-fe-snans-always-signal.c += $(config-cflags-signaling-nans) |
| 1163 |
|
| 1164 |
CFLAGS-test-nan-const.c += -fno-builtin |
| 1165 |
CFLAGS-test-nan-payload.c += -fno-builtin |
| 1166 |
|
| 1167 |
CFLAGS-test-ceil-except-2.c += -fno-builtin |
| 1168 |
CFLAGS-test-floor-except-2.c += -fno-builtin |
| 1169 |
CFLAGS-test-trunc-except-2.c += -fno-builtin |
| 1170 |
|
| 1171 |
include ../Rules |
| 1172 |
|
| 1173 |
gen-all-calls = $(gen-libm-calls) $(gen-calls) |
| 1174 |
|
| 1175 |
generated += $(addsuffix .c,$(call type-foreach,$(gen-all-calls))) \ |
| 1176 |
gen-libm-templates.stmp |
| 1177 |
|
| 1178 |
|
| 1179 |
$(objpfx)gen-libm-templates.stmp: Makefile |
| 1180 |
$(make-target-directory) |
| 1181 |
for gcall in $(gen-all-calls); do \ |
| 1182 |
func=$${gcall%F*}$${gcall#*F}; \ |
| 1183 |
for type in $(foreach t,$(types),$(t)__$(type-$(t)-suffix)); do \ |
| 1184 |
suff=$${type#*__}; \ |
| 1185 |
type=$${type%__*}; \ |
| 1186 |
file=$(objpfx)$${gcall%F*}$${suff}$${gcall#*F}.c; \ |
| 1187 |
( \ |
| 1188 |
echo "#include <math-type-macros-$${type}.h>"; \ |
| 1189 |
echo "#include <$${func}_template.c>"; \ |
| 1190 |
) > $${file}; \ |
| 1191 |
done; \ |
| 1192 |
done; \ |
| 1193 |
echo > $(@) |
| 1194 |
|
| 1195 |
|
| 1196 |
$(foreach t, $(call type-foreach, $(gen-all-calls)), \ |
| 1197 |
$(objpfx)$(t).c): $(objpfx)gen-libm-templates.stmp |
| 1198 |
|
| 1199 |
|
| 1200 |
|
| 1201 |
$(foreach t,$(libm-tests-normal),$(objpfx)$(t).c): $(objpfx)test-%.c: |
| 1202 |
type_func=$*; \ |
| 1203 |
type=$${type_func%%-*}; \ |
| 1204 |
func=$${type_func#*-}; \ |
| 1205 |
( \ |
| 1206 |
echo "#include <test-$$type.h>"; \ |
| 1207 |
echo "#include <test-math-exceptions.h>"; \ |
| 1208 |
echo "#include <test-math-errno.h>"; \ |
| 1209 |
echo "#include <test-math-scalar.h>"; \ |
| 1210 |
echo "#include <libm-test-$$func.c>"; \ |
| 1211 |
) > $@ |
| 1212 |
|
| 1213 |
$(foreach t,$(libm-tests-normal-static),$(objpfx)$(t).c): $(objpfx)test-%.c: |
| 1214 |
type_func=$*; \ |
| 1215 |
type=$${type_func%%-*}; \ |
| 1216 |
func=$${type_func#*-}; \ |
| 1217 |
( \ |
| 1218 |
echo "#include <test-$$type.h>"; \ |
| 1219 |
echo "#include <test-math-exceptions.h>"; \ |
| 1220 |
echo "#include <test-math-errno.h>"; \ |
| 1221 |
echo "#include <test-math-scalar.h>"; \ |
| 1222 |
echo "#include <libm-test-$$func.c>"; \ |
| 1223 |
) > $@ |
| 1224 |
|
| 1225 |
$(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c): $(objpfx)test-%.c: |
| 1226 |
type_pair_func=$*; \ |
| 1227 |
type_pair=$${type_pair_func%-*}; \ |
| 1228 |
func=$${type_pair_func##*-}; \ |
| 1229 |
ret_type=$${type_pair%%-*}; \ |
| 1230 |
arg_type=$${type_pair#*-}; \ |
| 1231 |
( \ |
| 1232 |
echo "#include <test-$$ret_type.h>"; \ |
| 1233 |
echo "#include <test-arg-$$arg_type.h>"; \ |
| 1234 |
echo "#include <test-math-exceptions.h>"; \ |
| 1235 |
echo "#include <test-math-errno.h>"; \ |
| 1236 |
echo "#include <test-math-narrow.h>"; \ |
| 1237 |
echo "#include <libm-test-narrow-$$func.c>"; \ |
| 1238 |
) > $@ |
| 1239 |
|
| 1240 |
$(foreach t,$(libm-tests-vector),$(objpfx)$(t).c): $(objpfx)test-%.c: |
| 1241 |
type_func=$*; \ |
| 1242 |
type=$${type_func%-*}; \ |
| 1243 |
func=$${type_func##*-}; \ |
| 1244 |
func_args=$$(grep "ALL_RM_TEST ($$func," libm-test-$$func.inc \ |
| 1245 |
| sed 's/.*RUN_TEST_LOOP_//;s/_.*//'); \ |
| 1246 |
( \ |
| 1247 |
echo "#include <test-$$type.h>"; \ |
| 1248 |
echo "WRAPPER_DECL_$$func_args (WRAPPER_NAME (FUNC ($$func)))"; \ |
| 1249 |
echo "#include <libm-test-$$func.c>"; \ |
| 1250 |
) > $@ |
| 1251 |
|
| 1252 |
$(foreach t,$(test-types),\ |
| 1253 |
$(objpfx)libm-test-support-$(t).c): $(objpfx)libm-test-support-%.c: |
| 1254 |
( \ |
| 1255 |
echo "#include <test-$*.h>"; \ |
| 1256 |
echo "#include <libm-test-support.c>"; \ |
| 1257 |
) > $@ |
| 1258 |
|
| 1259 |
$(foreach t,$(test-types),\ |
| 1260 |
$(objpfx)libm-test-support-$(t)-static.c): $(objpfx)libm-test-support-%.c: |
| 1261 |
( \ |
| 1262 |
echo "#include <test-$*.h>"; \ |
| 1263 |
echo "#include <libm-test-support.c>"; \ |
| 1264 |
) > $@ |
| 1265 |
|
| 1266 |
$(addprefix $(objpfx), $(libm-tests.o)): $(objpfx)libm-test-ulps.h |
| 1267 |
|
| 1268 |
define o-iterator-doit |
| 1269 |
$(foreach f,$(libm-test-funcs-all),\ |
| 1270 |
$(objpfx)$(o)-$(f).o): $(objpfx)$(o)%.o: $(objpfx)libm-test%.c |
| 1271 |
endef |
| 1272 |
object-suffixes-left := $(libm-tests-base) |
| 1273 |
include $(o-iterator) |
| 1274 |
|
| 1275 |
define o-iterator-doit |
| 1276 |
$(foreach f,$(libm-test-funcs-all-static),\ |
| 1277 |
$(objpfx)$(o)-$(f)-static.o): $(objpfx)$(o)%.o: $(objpfx)libm-test%.c |
| 1278 |
endef |
| 1279 |
object-suffixes-left := $(libm-tests-base) |
| 1280 |
include $(o-iterator) |
| 1281 |
|
| 1282 |
define o-iterator-doit |
| 1283 |
$(foreach f,$(libm-test-funcs-narrow),\ |
| 1284 |
$(objpfx)$(o)-$(f).o): $(objpfx)$(o)%.o: \ |
| 1285 |
$(objpfx)libm-test-narrow%.c |
| 1286 |
endef |
| 1287 |
object-suffixes-left := $(libm-tests-base-narrow) |
| 1288 |
include $(o-iterator) |
| 1289 |
|
| 1290 |
define o-iterator-doit |
| 1291 |
$(foreach f,$(libm-test-funcs-all),\ |
| 1292 |
$(objpfx)$(o)-$(f).o): CFLAGS += $(libm-test-no-inline-cflags) |
| 1293 |
endef |
| 1294 |
object-suffixes-left := $(libm-tests-base-normal) |
| 1295 |
include $(o-iterator) |
| 1296 |
|
| 1297 |
define o-iterator-doit |
| 1298 |
$(foreach f,$(libm-test-funcs-all-static),\ |
| 1299 |
$(objpfx)$(o)-$(f)-static.o): CFLAGS += $(libm-test-no-inline-cflags) |
| 1300 |
endef |
| 1301 |
object-suffixes-left := $(libm-tests-base-normal) |
| 1302 |
include $(o-iterator) |
| 1303 |
|
| 1304 |
define o-iterator-doit |
| 1305 |
$(foreach f,$(libm-test-funcs-narrow),\ |
| 1306 |
$(objpfx)$(o)-$(f).o): CFLAGS += $(libm-test-no-inline-cflags) |
| 1307 |
endef |
| 1308 |
object-suffixes-left := $(libm-tests-base-narrow) |
| 1309 |
include $(o-iterator) |
| 1310 |
|
| 1311 |
define o-iterator-doit |
| 1312 |
$(foreach f,$($(o)-funcs),\ |
| 1313 |
$(objpfx)test-$(o)-$(f).o): CFLAGS += $(libm-test-vec-cflags) |
| 1314 |
endef |
| 1315 |
object-suffixes-left := $(libmvec-tests) |
| 1316 |
include $(o-iterator) |
| 1317 |
|
| 1318 |
define o-iterator-doit |
| 1319 |
$(addprefix $(objpfx),\ |
| 1320 |
$(call libm-tests-for-type,$(o))): $(objpfx)libm-test-support-$(o).o |
| 1321 |
endef |
| 1322 |
object-suffixes-left := $(test-types) |
| 1323 |
include $(o-iterator) |
| 1324 |
|
| 1325 |
define o-iterator-doit |
| 1326 |
$(addprefix $(objpfx),\ |
| 1327 |
$(call libm-tests-for-type-static,$(o))): $(objpfx)libm-test-support-$(o)-static.o |
| 1328 |
endef |
| 1329 |
object-suffixes-left := $(test-types) |
| 1330 |
include $(o-iterator) |
| 1331 |
|
| 1332 |
define o-iterator-doit |
| 1333 |
$(objpfx)libm-test-support-$(o).o: CFLAGS += $(libm-test-no-inline-cflags) |
| 1334 |
endef |
| 1335 |
object-suffixes-left := $(test-types) |
| 1336 |
include $(o-iterator) |
| 1337 |
|
| 1338 |
|
| 1339 |
|
| 1340 |
define o-iterator-doit |
| 1341 |
$(objpfx)m_%$o: s_%.c $(before-compile); $$(compile-command.c) |
| 1342 |
endef |
| 1343 |
object-suffixes-left := $(all-object-suffixes) |
| 1344 |
include $(o-iterator) |
| 1345 |
|
| 1346 |
|
| 1347 |
define o-iterator-doit |
| 1348 |
$(objpfx)m_%$o: $(objpfx)s_%.c $(before-compile); $$(compile-command.c) |
| 1349 |
endef |
| 1350 |
object-suffixes-left := $(all-object-suffixes) |
| 1351 |
include $(o-iterator) |
| 1352 |
|
| 1353 |
ifneq ($(long-double-fcts),yes) |
| 1354 |
|
| 1355 |
|
| 1356 |
|
| 1357 |
math-CPPFLAGS += -DNO_LONG_DOUBLE |
| 1358 |
|
| 1359 |
|
| 1360 |
CFLAGS-carg.c += -fno-builtin-cargl |
| 1361 |
CFLAGS-conj.c += -fno-builtin-conjl |
| 1362 |
CFLAGS-cimag.c += -fno-builtin-cimagl |
| 1363 |
CFLAGS-creal.c += -fno-builtin-creall |
| 1364 |
CFLAGS-cabs.c += -fno-builtin-cabsl |
| 1365 |
CFLAGS-w_acos_compat.c += -fno-builtin-acosl |
| 1366 |
CFLAGS-w_asin_compat.c += -fno-builtin-asinl |
| 1367 |
CFLAGS-w_acosh_compat.c += -fno-builtin-acoshl |
| 1368 |
CFLAGS-w_atan2_compat.c += -fno-builtin-atan2l |
| 1369 |
CFLAGS-w_atanh_compat.c += -fno-builtin-atanhl |
| 1370 |
CFLAGS-w_cosh_compat.c += -fno-builtin-coshl |
| 1371 |
CFLAGS-w_exp_compat.c += -fno-builtin-expl |
| 1372 |
CFLAGS-w_exp2_compat.c += -fno-builtin-exp2l |
| 1373 |
CFLAGS-w_fmod_compat.c += -fno-builtin-fmodl |
| 1374 |
CFLAGS-w_hypot_compat.c += -fno-builtin-hypotl |
| 1375 |
CFLAGS-w_log_compat.c += -fno-builtin-logl |
| 1376 |
CFLAGS-w_log2_compat.c += -fno-builtin-log2l |
| 1377 |
CFLAGS-w_log10_compat.c += -fno-builtin-log10l |
| 1378 |
CFLAGS-w_pow_compat.c += -fno-builtin-powl |
| 1379 |
CFLAGS-w_remainder_compat.c += -fno-builtin-remainderl |
| 1380 |
CFLAGS-w_sinh_compat.c += -fno-builtin-sinhl |
| 1381 |
CFLAGS-w_sqrt_compat.c += -fno-builtin-sqrtl |
| 1382 |
CFLAGS-w_tgamma_compat.c += -fno-builtin-tgammal |
| 1383 |
CFLAGS-e_hypot.c += -fno-builtin-hypotl |
| 1384 |
CFLAGS-e_fmod.c += -fno-builtin-fmodl |
| 1385 |
CFLAGS-w_acos.c += -fno-builtin-acosl |
| 1386 |
CFLAGS-w_acosh.c += -fno-builtin-acoshl |
| 1387 |
CFLAGS-s_acospi.c += -fno-builtin-acospil |
| 1388 |
CFLAGS-w_asin.c += -fno-builtin-asinl |
| 1389 |
CFLAGS-s_asinh.c += -fno-builtin-asinhl |
| 1390 |
CFLAGS-s_asinpi.c += -fno-builtin-asinpil |
| 1391 |
CFLAGS-s_atan.c += -fno-builtin-atanl |
| 1392 |
CFLAGS-w_atan2.c += -fno-builtin-atan2l |
| 1393 |
CFLAGS-s_atan2pi.c += -fno-builtin-atan2pil |
| 1394 |
CFLAGS-w_atanh.c += -fno-builtin-atanhl |
| 1395 |
CFLAGS-s_atanpi.c += -fno-builtin-atanpil |
| 1396 |
CFLAGS-s_cabs.c += -fno-builtin-cabsl |
| 1397 |
CFLAGS-s_cacos.c += -fno-builtin-cacosl |
| 1398 |
CFLAGS-s_cacosh.c += -fno-builtin-cacoshl |
| 1399 |
CFLAGS-s_canonicalize.c += -fno-builtin-canonicalizel |
| 1400 |
CFLAGS-s_carg.c += -fno-builtin-cargl |
| 1401 |
CFLAGS-s_casin.c += -fno-builtin-casinl |
| 1402 |
CFLAGS-s_casinh.c += -fno-builtin-casinhl |
| 1403 |
CFLAGS-s_catan.c += -fno-builtin-catanl |
| 1404 |
CFLAGS-s_catanh.c += -fno-builtin-catanhl |
| 1405 |
CFLAGS-s_cbrt.c += -fno-builtin-cbrtl |
| 1406 |
CFLAGS-s_ccos.c += -fno-builtin-ccosl |
| 1407 |
CFLAGS-s_ccosh.c += -fno-builtin-ccoshl |
| 1408 |
CFLAGS-s_ceil.c += -fno-builtin-ceill |
| 1409 |
CFLAGS-s_cexp.c += -fno-builtin-cexpl |
| 1410 |
CFLAGS-s_cimag.c += -fno-builtin-cimagl |
| 1411 |
CFLAGS-s_clog.c += -fno-builtin-clogl |
| 1412 |
CFLAGS-s_clog10.c += -fno-builtin-clog10l |
| 1413 |
CFLAGS-s_compoundn.c += -fno-builtin-compoundnl |
| 1414 |
CFLAGS-s_conj.c += -fno-builtin-conjl |
| 1415 |
CFLAGS-s_copysign.c += -fno-builtin-copysignl |
| 1416 |
CFLAGS-s_cos.c += -fno-builtin-cosl |
| 1417 |
CFLAGS-w_cosh.c += -fno-builtin-coshl |
| 1418 |
CFLAGS-s_cospi.c += -fno-builtin-cospil |
| 1419 |
CFLAGS-s_cpow.c += -fno-builtin-cpowl |
| 1420 |
CFLAGS-s_cproj.c += -fno-builtin-cprojl |
| 1421 |
CFLAGS-s_creal.c += -fno-builtin-creall |
| 1422 |
CFLAGS-s_csin.c += -fno-builtin-csinl |
| 1423 |
CFLAGS-s_csinh.c += -fno-builtin-csinhl |
| 1424 |
CFLAGS-s_csqrt.c += -fno-builtin-csqrtl |
| 1425 |
CFLAGS-s_ctan.c += -fno-builtin-ctanl |
| 1426 |
CFLAGS-s_ctanh.c += -fno-builtin-ctanhl |
| 1427 |
CFLAGS-s_erf.c += -fno-builtin-erfl |
| 1428 |
CFLAGS-s_dadd.c += -fno-builtin-daddl |
| 1429 |
CFLAGS-s_ddiv.c += -fno-builtin-ddivl |
| 1430 |
CFLAGS-s_dfma.c += -fno-builtin-dfmal |
| 1431 |
CFLAGS-s_dmul.c += -fno-builtin-dmull |
| 1432 |
CFLAGS-s_dsqrt.c += -fno-builtin-dsqrtl |
| 1433 |
CFLAGS-s_dsub.c += -fno-builtin-dsubl |
| 1434 |
CFLAGS-s_erf.c += -fno-builtin-erfl -fno-builtin-erfcl |
| 1435 |
CFLAGS-s_erfc.c += -fno-builtin-erfcl |
| 1436 |
CFLAGS-e_exp.c += -fno-builtin-expl |
| 1437 |
CFLAGS-w_exp10.c += -fno-builtin-exp10l |
| 1438 |
CFLAGS-s_exp10m1.c += -fno-builtin-exp10m1l |
| 1439 |
CFLAGS-w_exp10_compat.c += -fno-builtin-pow10l |
| 1440 |
CFLAGS-e_exp2.c += -fno-builtin-exp2l |
| 1441 |
CFLAGS-s_exp2m1.c += -fno-builtin-exp2m1l |
| 1442 |
CFLAGS-s_expm1.c += -fno-builtin-expm1l |
| 1443 |
CFLAGS-s_f32xaddf64.c += -fno-builtin-daddl |
| 1444 |
CFLAGS-s_f32xdivf64.c += -fno-builtin-ddivl |
| 1445 |
CFLAGS-s_f32xfmaf64.c += -fno-builtin-dfmal |
| 1446 |
CFLAGS-s_f32xmulf64.c += -fno-builtin-dmull |
| 1447 |
CFLAGS-s_f32xsqrtf64.c += -fno-builtin-dsqrtl |
| 1448 |
CFLAGS-s_f32xsubf64.c += -fno-builtin-dsubl |
| 1449 |
CFLAGS-s_fabs.c += -fno-builtin-fabsl |
| 1450 |
CFLAGS-s_fadd.c += -fno-builtin-faddl |
| 1451 |
CFLAGS-s_fdim.c += -fno-builtin-fdiml |
| 1452 |
CFLAGS-s_fdiv.c += -fno-builtin-fdivl |
| 1453 |
CFLAGS-s_ffma.c += -fno-builtin-ffmal |
| 1454 |
CFLAGS-s_finite.c += -fno-builtin-finitel |
| 1455 |
CFLAGS-s_floor.c += -fno-builtin-floorl |
| 1456 |
CFLAGS-s_fma.c += -fno-builtin-fmal |
| 1457 |
CFLAGS-s_fmax.c += -fno-builtin-fmaxl |
| 1458 |
CFLAGS-s_fmaximum.c += -fno-builtin-fmaximuml |
| 1459 |
CFLAGS-s_fmaximum_mag.c += -fno-builtin-fmaximum_magl |
| 1460 |
CFLAGS-s_fmaximum_mag_num.c += -fno-builtin-fmaximum_mag_numl |
| 1461 |
CFLAGS-s_fmaximum_num.c += -fno-builtin-fmaximum_numl |
| 1462 |
CFLAGS-s_fmaxmag.c += -fno-builtin-fmaxmagl |
| 1463 |
CFLAGS-s_fmin.c += -fno-builtin-fminl |
| 1464 |
CFLAGS-s_fminimum.c += -fno-builtin-fminimuml |
| 1465 |
CFLAGS-s_fminimum_mag.c += -fno-builtin-fminimum_magl |
| 1466 |
CFLAGS-s_fminimum_mag_num.c += -fno-builtin-fminimum_mag_numl |
| 1467 |
CFLAGS-s_fminimum_num.c += -fno-builtin-fminimum_numl |
| 1468 |
CFLAGS-s_fminmag.c += -fno-builtin-fminmagl |
| 1469 |
CFLAGS-w_fmod.c += -fno-builtin-fmodl |
| 1470 |
CFLAGS-s_fmul.c += -fno-builtin-fmull |
| 1471 |
CFLAGS-s_frexp.c += -fno-builtin-frexpl |
| 1472 |
CFLAGS-s_compat_fromfp.c += -fno-builtin-fromfpl |
| 1473 |
CFLAGS-s_compat_fromfpx.c += -fno-builtin-fromfpxl |
| 1474 |
CFLAGS-s_fromfp.c += -fno-builtin-fromfpl |
| 1475 |
CFLAGS-s_fromfpx.c += -fno-builtin-fromfpxl |
| 1476 |
CFLAGS-s_fsqrt.c += -fno-builtin-fsqrtl |
| 1477 |
CFLAGS-s_fsub.c += -fno-builtin-fsubl |
| 1478 |
CFLAGS-s_getpayload.c += -fno-builtin-getpayloadl |
| 1479 |
CFLAGS-w_hypot.c += -fno-builtin-hypotl |
| 1480 |
CFLAGS-w_ilogb.c += -fno-builtin-ilogbl |
| 1481 |
CFLAGS-s_isinf.c += -fno-builtin-isinfl |
| 1482 |
CFLAGS-s_isnan.c += -fno-builtin-isnanl |
| 1483 |
CFLAGS-w_j0.c += -fno-builtin-j0l |
| 1484 |
CFLAGS-w_j1.c += -fno-builtin-j1l |
| 1485 |
CFLAGS-w_jn.c += -fno-builtin-jnl |
| 1486 |
CFLAGS-s_ldexp.c += -fno-builtin-ldexpl -fno-builtin-scalbnl |
| 1487 |
CFLAGS-w_lgamma.c += -fno-builtin-lgammal |
| 1488 |
CFLAGS-w_lgamma_r.c += -fno-builtin-lgammal_r |
| 1489 |
CFLAGS-w_llogb.c += -fno-builtin-llogbl |
| 1490 |
CFLAGS-s_llrint.c += -fno-builtin-llrintl |
| 1491 |
CFLAGS-s_llround.c += -fno-builtin-llroundl |
| 1492 |
CFLAGS-e_log.c += -fno-builtin-logl |
| 1493 |
CFLAGS-w_log10.c += -fno-builtin-log10l |
| 1494 |
CFLAGS-s_log10p1.c += -fno-builtin-log10p1l |
| 1495 |
CFLAGS-w_log1p.c += -fno-builtin-log1pl -fno-builtin-logp1l |
| 1496 |
CFLAGS-e_log2.c += -fno-builtin-log2l |
| 1497 |
CFLAGS-s_log2p1.c += -fno-builtin-log2p1l |
| 1498 |
CFLAGS-s_logb.c += -fno-builtin-logbl |
| 1499 |
CFLAGS-s_lrint.c += -fno-builtin-lrintl |
| 1500 |
CFLAGS-s_lround.c += -fno-builtin-lroundl |
| 1501 |
CFLAGS-s_modf.c += -fno-builtin-modfl |
| 1502 |
CFLAGS-s_nan.c += -fno-builtin-nanl |
| 1503 |
CFLAGS-s_nearbyint.c += -fno-builtin-nearbyintl |
| 1504 |
CFLAGS-s_nextafter.c += -fno-builtin-nextafterl -fno-builtin-nexttowardl -fno-builtin-nexttoward |
| 1505 |
CFLAGS-s_nextdown.c += -fno-builtin-nextdownl |
| 1506 |
CFLAGS-s_nexttoward.c += -fno-builtin-nexttoward -fno-builtin-nexttowardl |
| 1507 |
CFLAGS-s_nexttowardf.c += -fno-builtin-nexttowardf |
| 1508 |
CFLAGS-s_nextup.c += -fno-builtin-nextupl |
| 1509 |
CFLAGS-e_pow.c += -fno-builtin-powl |
| 1510 |
CFLAGS-s_pown.c += -fno-builtin-pownl |
| 1511 |
CFLAGS-s_powr.c += -fno-builtin-powrl |
| 1512 |
CFLAGS-w_remainder.c += -fno-builtin-remainderl -fno-builtin-dreml |
| 1513 |
CFLAGS-s_remquo.c += -fno-builtin-remquol |
| 1514 |
CFLAGS-s_rint.c += -fno-builtin-rintl |
| 1515 |
CFLAGS-s_rootn.c += -fno-builtin-rootnl |
| 1516 |
CFLAGS-s_round.c += -fno-builtin-roundl |
| 1517 |
CFLAGS-s_roundeven.c += -fno-builtin-roundevenl |
| 1518 |
CFLAGS-s_rsqrt.c += -fno-builtin-rsqrtl |
| 1519 |
CFLAGS-w_scalb.c += -fno-builtin-scalbl |
| 1520 |
CFLAGS-w_scalbln.c += -fno-builtin-scalblnl |
| 1521 |
CFLAGS-s_scalbn.c += -fno-builtin-scalbnl |
| 1522 |
CFLAGS-s_setpayload.c += -fno-builtin-setpayloadl |
| 1523 |
CFLAGS-s_setpayloadsig.c += -fno-builtin-setpayloadsigl |
| 1524 |
CFLAGS-s_significand.c += -fno-builtin-significandl |
| 1525 |
CFLAGS-s_sin.c += -fno-builtin-sinl -fno-builtin-cosl |
| 1526 |
CFLAGS-s_sincos.c += -fno-builtin-sincosl |
| 1527 |
CFLAGS-w_sinh.c += -fno-builtin-sinhl |
| 1528 |
CFLAGS-s_sinpi.c += -fno-builtin-sinpil |
| 1529 |
CFLAGS-w_sqrt.c += -fno-builtin-sqrtl |
| 1530 |
CFLAGS-s_tan.c += -fno-builtin-tanl |
| 1531 |
CFLAGS-s_tanh.c += -fno-builtin-tanhl |
| 1532 |
CFLAGS-s_tanpi.c += -fno-builtin-tanpil |
| 1533 |
CFLAGS-w_tgamma.c += -fno-builtin-tgammal |
| 1534 |
CFLAGS-s_totalorder.c += -fno-builtin-totalorderl |
| 1535 |
CFLAGS-s_totalordermag.c += -fno-builtin-totalordermagl |
| 1536 |
CFLAGS-s_trunc.c += -fno-builtin-truncl |
| 1537 |
CFLAGS-s_compat_ufromfp.c += -fno-builtin-ufromfpl |
| 1538 |
CFLAGS-s_compat_ufromfpx.c += -fno-builtin-ufromfpxl |
| 1539 |
CFLAGS-s_ufromfp.c += -fno-builtin-ufromfpl |
| 1540 |
CFLAGS-s_ufromfpx.c += -fno-builtin-ufromfpxl |
| 1541 |
CFLAGS-s_y0.c += -fno-builtin-y0l |
| 1542 |
CFLAGS-s_y1.c += -fno-builtin-y1l |
| 1543 |
CFLAGS-s_yn.c += -fno-builtin-ynl |
| 1544 |
endif |
| 1545 |
|
| 1546 |
|
| 1547 |
CFLAGS-w_acos.c += -fno-builtin-acosf32x -fno-builtin-acosf64 |
| 1548 |
CFLAGS-w_acosh.c += -fno-builtin-acoshf32x -fno-builtin-acoshf64 |
| 1549 |
CFLAGS-s_acospi.c += -fno-builtin-acospif32x -fno-builtin-acospif64 |
| 1550 |
CFLAGS-w_asin.c += -fno-builtin-asinf32x -fno-builtin-asinf64 |
| 1551 |
CFLAGS-s_asinh.c += -fno-builtin-asinhf32x -fno-builtin-asinhf64 |
| 1552 |
CFLAGS-s_asinpi.c += -fno-builtin-asinpif32x -fno-builtin-asinpif64 |
| 1553 |
CFLAGS-s_atan.c += -fno-builtin-atanf32x -fno-builtin-atanf64 |
| 1554 |
CFLAGS-w_atan2.c += -fno-builtin-atan2f32x -fno-builtin-atan2f64 |
| 1555 |
CFLAGS-s_atan2pi.c += -fno-builtin-atan2pif32x -fno-builtin-atan2pif64 |
| 1556 |
CFLAGS-w_atanh.c += -fno-builtin-atanhf32x -fno-builtin-atanhf64 |
| 1557 |
CFLAGS-s_atanpi.c += -fno-builtin-atanpif32x -fno-builtin-atanpif64 |
| 1558 |
CFLAGS-s_cabs.c += -fno-builtin-cabsf32x -fno-builtin-cabsf64 |
| 1559 |
CFLAGS-s_cacos.c += -fno-builtin-cacosf32x -fno-builtin-cacosf64 |
| 1560 |
CFLAGS-s_cacosh.c += -fno-builtin-cacoshf32x -fno-builtin-cacoshf64 |
| 1561 |
CFLAGS-s_canonicalize.c += -fno-builtin-canonicalizef32x -fno-builtin-canonicalizef64 |
| 1562 |
CFLAGS-s_carg.c += -fno-builtin-cargf32x -fno-builtin-cargf64 |
| 1563 |
CFLAGS-s_casin.c += -fno-builtin-casinf32x -fno-builtin-casinf64 |
| 1564 |
CFLAGS-s_casinh.c += -fno-builtin-casinhf32x -fno-builtin-casinhf64 |
| 1565 |
CFLAGS-s_catan.c += -fno-builtin-catanf32x -fno-builtin-catanf64 |
| 1566 |
CFLAGS-s_catanh.c += -fno-builtin-catanhf32x -fno-builtin-catanhf64 |
| 1567 |
CFLAGS-s_cbrt.c += -fno-builtin-cbrtf32x -fno-builtin-cbrtf64 |
| 1568 |
CFLAGS-s_ccos.c += -fno-builtin-ccosf32x -fno-builtin-ccosf64 |
| 1569 |
CFLAGS-s_ccosh.c += -fno-builtin-ccoshf32x -fno-builtin-ccoshf64 |
| 1570 |
CFLAGS-s_ceil.c += -fno-builtin-ceilf32x -fno-builtin-ceilf64 |
| 1571 |
CFLAGS-s_cexp.c += -fno-builtin-cexpf32x -fno-builtin-cexpf64 |
| 1572 |
CFLAGS-s_cimag.c += -fno-builtin-cimagf32x -fno-builtin-cimagf64 |
| 1573 |
CFLAGS-s_clog.c += -fno-builtin-clogf32x -fno-builtin-clogf64 |
| 1574 |
CFLAGS-s_clog10.c += -fno-builtin-clog10f32x -fno-builtin-clog10f64 |
| 1575 |
CFLAGS-s_compoundn.c += -fno-builtin-compoundnf32x -fno-builtin-compoundnf64 |
| 1576 |
CFLAGS-s_conj.c += -fno-builtin-conjf32x -fno-builtin-conjf64 |
| 1577 |
CFLAGS-s_copysign.c += -fno-builtin-copysignf32x -fno-builtin-copysignf64 |
| 1578 |
CFLAGS-s_cos.c += -fno-builtin-cosf32x -fno-builtin-cosf64 |
| 1579 |
CFLAGS-w_cosh.c += -fno-builtin-coshf32x -fno-builtin-coshf64 |
| 1580 |
CFLAGS-s_cospi.c += -fno-builtin-cospif32x -fno-builtin-cospif64 |
| 1581 |
CFLAGS-s_cpow.c += -fno-builtin-cpowf32x -fno-builtin-cpowf64 |
| 1582 |
CFLAGS-s_cproj.c += -fno-builtin-cprojf32x -fno-builtin-cprojf64 |
| 1583 |
CFLAGS-s_creal.c += -fno-builtin-crealf32x -fno-builtin-crealf64 |
| 1584 |
CFLAGS-s_csin.c += -fno-builtin-csinf32x -fno-builtin-csinf64 |
| 1585 |
CFLAGS-s_csinh.c += -fno-builtin-csinhf32x -fno-builtin-csinhf64 |
| 1586 |
CFLAGS-s_csqrt.c += -fno-builtin-csqrtf32x -fno-builtin-csqrtf64 |
| 1587 |
CFLAGS-s_ctan.c += -fno-builtin-ctanf32x -fno-builtin-ctanf64 |
| 1588 |
CFLAGS-s_ctanh.c += -fno-builtin-ctanhf32x -fno-builtin-ctanhf64 |
| 1589 |
CFLAGS-s_erf.c += -fno-builtin-erff32x -fno-builtin-erff64 |
| 1590 |
CFLAGS-s_erfc.c += -fno-builtin-erfcf32x -fno-builtin-erfcf64 |
| 1591 |
CFLAGS-e_exp.c += -fno-builtin-expf32x -fno-builtin-expf64 |
| 1592 |
CFLAGS-w_exp10.c += -fno-builtin-exp10f32x -fno-builtin-exp10f64 |
| 1593 |
CFLAGS-s_exp10m1.c += -fno-builtin-exp10m1f32x -fno-builtin-exp10m1f64 |
| 1594 |
CFLAGS-e_exp2.c += -fno-builtin-exp2f32x -fno-builtin-exp2f64 |
| 1595 |
CFLAGS-s_exp2m1.c += -fno-builtin-exp2m1f32x -fno-builtin-exp2m1f64 |
| 1596 |
CFLAGS-s_expm1.c += -fno-builtin-expm1f32x -fno-builtin-expm1f64 |
| 1597 |
CFLAGS-s_fabs.c += -fno-builtin-fabsf32x -fno-builtin-fabsf64 |
| 1598 |
CFLAGS-s_fadd.c += -fno-builtin-f32addf32x -fno-builtin-f32addf64 |
| 1599 |
CFLAGS-s_fdim.c += -fno-builtin-fdimf32x -fno-builtin-fdimf64 |
| 1600 |
CFLAGS-s_fdiv.c += -fno-builtin-f32divf32x -fno-builtin-f32divf64 |
| 1601 |
CFLAGS-s_ffma.c += -fno-builtin-f32fmaf32x -fno-builtin-f32fmaf64 |
| 1602 |
CFLAGS-s_floor.c += -fno-builtin-floorf32x -fno-builtin-floorf64 |
| 1603 |
CFLAGS-s_fma.c += -fno-builtin-fmaf32x -fno-builtin-fmaf64 |
| 1604 |
CFLAGS-s_fmax.c += -fno-builtin-fmaxf32x -fno-builtin-fmaxf64 |
| 1605 |
CFLAGS-s_fmaximum.c += -fno-builtin-fmaximumf32x -fno-builtin-fmaximumf64 |
| 1606 |
CFLAGS-s_fmaximum_mag.c += -fno-builtin-fmaximum_magf32x -fno-builtin-fmaximum_magf64 |
| 1607 |
CFLAGS-s_fmaximum_mag_num.c += -fno-builtin-fmaximum_mag_numf32x -fno-builtin-fmaximum_mag_numf64 |
| 1608 |
CFLAGS-s_fmaximum_num.c += -fno-builtin-fmaximum_numf32x -fno-builtin-fmaximum_numf64 |
| 1609 |
CFLAGS-s_fmaxmag.c += -fno-builtin-fmaxmagf32x -fno-builtin-fmaxmagf64 |
| 1610 |
CFLAGS-s_fmin.c += -fno-builtin-fminf32x -fno-builtin-fminf64 |
| 1611 |
CFLAGS-s_fminimum.c += -fno-builtin-fminimumf32x -fno-builtin-fminimumf64 |
| 1612 |
CFLAGS-s_fminimum_mag.c += -fno-builtin-fminimum_magf32x -fno-builtin-fminimum_magf64 |
| 1613 |
CFLAGS-s_fminimum_mag_num.c += -fno-builtin-fminimum_mag_numf32x -fno-builtin-fminimum_mag_numf64 |
| 1614 |
CFLAGS-s_fminimum_num.c += -fno-builtin-fminimum_numf32x -fno-builtin-fminimum_numf64 |
| 1615 |
CFLAGS-s_fminmag.c += -fno-builtin-fminmagf32x -fno-builtin-fminmagf64 |
| 1616 |
CFLAGS-w_fmod.c += -fno-builtin-fmodf32x -fno-builtin-fmodf64 |
| 1617 |
CFLAGS-s_fmul.c += -fno-builtin-f32mulf32x -fno-builtin-f32mulf64 |
| 1618 |
CFLAGS-s_frexp.c += -fno-builtin-frexpf32x -fno-builtin-frexpf64 |
| 1619 |
CFLAGS-s_compat_fromfp.c += -fno-builtin-fromfpf32x -fno-builtin-fromfpf64 |
| 1620 |
CFLAGS-s_compat_fromfpx.c += -fno-builtin-fromfpxf32x -fno-builtin-fromfpxf64 |
| 1621 |
CFLAGS-s_fromfp.c += -fno-builtin-fromfpf32x -fno-builtin-fromfpf64 |
| 1622 |
CFLAGS-s_fromfpx.c += -fno-builtin-fromfpxf32x -fno-builtin-fromfpxf64 |
| 1623 |
CFLAGS-s_fsqrt.c += -fno-builtin-f32sqrtf32x -fno-builtin-f32sqrtf64 |
| 1624 |
CFLAGS-s_fsub.c += -fno-builtin-f32subf32x -fno-builtin-f32subf64 |
| 1625 |
CFLAGS-s_getpayload.c += -fno-builtin-getpayloadf32x -fno-builtin-getpayloadf64 |
| 1626 |
CFLAGS-w_hypot.c += -fno-builtin-hypotf32x -fno-builtin-hypotf64 |
| 1627 |
CFLAGS-w_ilogb.c += -fno-builtin-ilogbf32x -fno-builtin-ilogbf64 |
| 1628 |
CFLAGS-w_j0.c += -fno-builtin-j0f32x -fno-builtin-j0f64 |
| 1629 |
CFLAGS-w_j1.c += -fno-builtin-j1f32x -fno-builtin-j1f64 |
| 1630 |
CFLAGS-w_jn.c += -fno-builtin-jnf32x -fno-builtin-jnf64 |
| 1631 |
CFLAGS-s_ldexp.c += -fno-builtin-ldexpf32x -fno-builtin-ldexpf64 |
| 1632 |
CFLAGS-w_lgamma.c += -fno-builtin-lgammaf32x -fno-builtin-lgammaf64 |
| 1633 |
CFLAGS-w_lgamma_r.c += -fno-builtin-lgammaf32x_r -fno-builtin-lgammaf64_r |
| 1634 |
CFLAGS-w_llogb.c += -fno-builtin-llogbf32x -fno-builtin-llogbf64 |
| 1635 |
CFLAGS-s_llrint.c += -fno-builtin-llrintf32x -fno-builtin-llrintf64 |
| 1636 |
CFLAGS-s_llround.c += -fno-builtin-llroundf32x -fno-builtin-llroundf64 |
| 1637 |
CFLAGS-e_log.c += -fno-builtin-logf32x -fno-builtin-logf64 |
| 1638 |
CFLAGS-w_log10.c += -fno-builtin-log10f32x -fno-builtin-log10f64 |
| 1639 |
CFLAGS-s_log10p1.c += -fno-builtin-log10p1f32x -fno-builtin-log10p1f64 |
| 1640 |
CFLAGS-w_log1p.c += -fno-builtin-log1pf32x -fno-builtin-log1pf64 -fno-builtin-logp1f32x -fno-builtin-logp1f64 |
| 1641 |
CFLAGS-e_log2.c += -fno-builtin-log2f32x -fno-builtin-log2f64 |
| 1642 |
CFLAGS-s_log2p1.c += -fno-builtin-log2p1f32x -fno-builtin-log2p1f64 |
| 1643 |
CFLAGS-s_logb.c += -fno-builtin-logbf32x -fno-builtin-logbf64 |
| 1644 |
CFLAGS-s_lrint.c += -fno-builtin-lrintf32x -fno-builtin-lrintf64 |
| 1645 |
CFLAGS-s_lround.c += -fno-builtin-lroundf32x -fno-builtin-lroundf64 |
| 1646 |
CFLAGS-s_modf.c += -fno-builtin-modff32x -fno-builtin-modff64 |
| 1647 |
CFLAGS-s_nan.c += -fno-builtin-nanf32x -fno-builtin-nanf64 |
| 1648 |
CFLAGS-s_nearbyint.c += -fno-builtin-nearbyintf32x -fno-builtin-nearbyintf64 |
| 1649 |
CFLAGS-s_nextafter.c += -fno-builtin-nextafterf32x -fno-builtin-nextafterf64 |
| 1650 |
CFLAGS-s_nextdown.c += -fno-builtin-nextdownf32x -fno-builtin-nextdownf64 |
| 1651 |
CFLAGS-s_nextup.c += -fno-builtin-nextupf32x -fno-builtin-nextupf64 |
| 1652 |
CFLAGS-e_pow.c += -fno-builtin-powf32x -fno-builtin-powf64 |
| 1653 |
CFLAGS-s_pown.c += -fno-builtin-pownf32x -fno-builtin-pownf64 |
| 1654 |
CFLAGS-s_powr.c += -fno-builtin-powrf32x -fno-builtin-powrf64 |
| 1655 |
CFLAGS-w_remainder.c += -fno-builtin-remainderf32x -fno-builtin-remainderf64 |
| 1656 |
CFLAGS-s_remquo.c += -fno-builtin-remquof32x -fno-builtin-remquof64 |
| 1657 |
CFLAGS-s_rint.c += -fno-builtin-rintf32x -fno-builtin-rintf64 |
| 1658 |
CFLAGS-s_rootn.c += -fno-builtin-rootnf32x -fno-builtin-rootnf64 |
| 1659 |
CFLAGS-s_round.c += -fno-builtin-roundf32x -fno-builtin-roundf64 |
| 1660 |
CFLAGS-s_roundeven.c += -fno-builtin-roundevenf32x -fno-builtin-roundevenf64 |
| 1661 |
CFLAGS-s_rsqrt.c += -fno-builtin-rsqrtf32x -fno-builtin-rsqrtf64 |
| 1662 |
CFLAGS-w_scalbln.c += -fno-builtin-scalblnf32x -fno-builtin-scalblnf64 |
| 1663 |
CFLAGS-s_scalbn.c += -fno-builtin-scalbnf32x -fno-builtin-scalbnf64 |
| 1664 |
CFLAGS-s_setpayload.c += -fno-builtin-setpayloadf32x -fno-builtin-setpayloadf64 |
| 1665 |
CFLAGS-s_setpayloadsig.c += -fno-builtin-setpayloadsigf32x -fno-builtin-setpayloadsigf64 |
| 1666 |
CFLAGS-s_sin.c += -fno-builtin-sinf32x -fno-builtin-sinf64 |
| 1667 |
CFLAGS-s_sincos.c += -fno-builtin-sincosf32x -fno-builtin-sincosf64 |
| 1668 |
CFLAGS-w_sinh.c += -fno-builtin-sinhf32x -fno-builtin-sinhf64 |
| 1669 |
CFLAGS-s_sinpi.c += -fno-builtin-sinpif32x -fno-builtin-sinpif64 |
| 1670 |
CFLAGS-w_sqrt.c += -fno-builtin-sqrtf32x -fno-builtin-sqrtf64 |
| 1671 |
CFLAGS-s_tan.c += -fno-builtin-tanf32x -fno-builtin-tanf64 |
| 1672 |
CFLAGS-s_tanh.c += -fno-builtin-tanhf32x -fno-builtin-tanhf64 |
| 1673 |
CFLAGS-s_tanpi.c += -fno-builtin-tanpif32x -fno-builtin-tanpif64 |
| 1674 |
CFLAGS-w_tgamma.c += -fno-builtin-tgammaf32x -fno-builtin-tgammaf64 |
| 1675 |
CFLAGS-s_totalorder.c += -fno-builtin-totalorderf32x -fno-builtin-totalorderf64 |
| 1676 |
CFLAGS-s_totalordermag.c += -fno-builtin-totalordermagf32x -fno-builtin-totalordermagf64 |
| 1677 |
CFLAGS-s_trunc.c += -fno-builtin-truncf32x -fno-builtin-truncf64 |
| 1678 |
CFLAGS-s_compat_ufromfp.c += -fno-builtin-ufromfpf32x -fno-builtin-ufromfpf64 |
| 1679 |
CFLAGS-s_compat_ufromfpx.c += -fno-builtin-ufromfpxf32x -fno-builtin-ufromfpxf64 |
| 1680 |
CFLAGS-s_ufromfp.c += -fno-builtin-ufromfpf32x -fno-builtin-ufromfpf64 |
| 1681 |
CFLAGS-s_ufromfpx.c += -fno-builtin-ufromfpxf32x -fno-builtin-ufromfpxf64 |
| 1682 |
CFLAGS-s_y0.c += -fno-builtin-y0f32x -fno-builtin-y0f64 |
| 1683 |
CFLAGS-s_y1.c += -fno-builtin-y1f32x -fno-builtin-y1f64 |
| 1684 |
CFLAGS-s_yn.c += -fno-builtin-ynf32x -fno-builtin-ynf64 |
| 1685 |
|
| 1686 |
|
| 1687 |
CFLAGS-w_acosf.c += -fno-builtin-acosf32 |
| 1688 |
CFLAGS-w_acoshf.c += -fno-builtin-acoshf32 |
| 1689 |
CFLAGS-s_acospif.c += -fno-builtin-acospif32 |
| 1690 |
CFLAGS-w_asinf.c += -fno-builtin-asinf32 |
| 1691 |
CFLAGS-s_asinhf.c += -fno-builtin-asinhf32 |
| 1692 |
CFLAGS-s_asinpif.c += -fno-builtin-asinpif32 |
| 1693 |
CFLAGS-s_atanf.c += -fno-builtin-atanf32 |
| 1694 |
CFLAGS-w_atan2f.c += -fno-builtin-atan2f32 |
| 1695 |
CFLAGS-s_atan2pif.c += -fno-builtin-atan2pif32 |
| 1696 |
CFLAGS-w_atanhf.c += -fno-builtin-atanhf32 |
| 1697 |
CFLAGS-s_atanpif.c += -fno-builtin-atanpif32 |
| 1698 |
CFLAGS-s_cabsf.c += -fno-builtin-cabsf32 |
| 1699 |
CFLAGS-s_cacosf.c += -fno-builtin-cacosf32 |
| 1700 |
CFLAGS-s_cacoshf.c += -fno-builtin-cacoshf32 |
| 1701 |
CFLAGS-s_canonicalizef.c += -fno-builtin-canonicalizef32 |
| 1702 |
CFLAGS-s_cargf.c += -fno-builtin-cargf32 |
| 1703 |
CFLAGS-s_casinf.c += -fno-builtin-casinf32 |
| 1704 |
CFLAGS-s_casinhf.c += -fno-builtin-casinhf32 |
| 1705 |
CFLAGS-s_catanf.c += -fno-builtin-catanf32 |
| 1706 |
CFLAGS-s_catanhf.c += -fno-builtin-catanhf32 |
| 1707 |
CFLAGS-s_cbrtf.c += -fno-builtin-cbrtf32 |
| 1708 |
CFLAGS-s_ccosf.c += -fno-builtin-ccosf32 |
| 1709 |
CFLAGS-s_ccoshf.c += -fno-builtin-ccoshf32 |
| 1710 |
CFLAGS-s_ceilf.c += -fno-builtin-ceilf32 |
| 1711 |
CFLAGS-s_cexpf.c += -fno-builtin-cexpf32 |
| 1712 |
CFLAGS-s_cimagf.c += -fno-builtin-cimagf32 |
| 1713 |
CFLAGS-s_clogf.c += -fno-builtin-clogf32 |
| 1714 |
CFLAGS-s_clog10f.c += -fno-builtin-clog10f32 |
| 1715 |
CFLAGS-s_compoundnf.c += -fno-builtin-compoundnf32 |
| 1716 |
CFLAGS-s_conjf.c += -fno-builtin-conjf32 |
| 1717 |
CFLAGS-s_copysignf.c += -fno-builtin-copysignf32 |
| 1718 |
CFLAGS-s_cosf.c += -fno-builtin-cosf32 |
| 1719 |
CFLAGS-w_coshf.c += -fno-builtin-coshf32 |
| 1720 |
CFLAGS-s_cospif.c += -fno-builtin-cospif32 |
| 1721 |
CFLAGS-s_cpowf.c += -fno-builtin-cpowf32 |
| 1722 |
CFLAGS-s_cprojf.c += -fno-builtin-cprojf32 |
| 1723 |
CFLAGS-s_crealf.c += -fno-builtin-crealf32 |
| 1724 |
CFLAGS-s_csinf.c += -fno-builtin-csinf32 |
| 1725 |
CFLAGS-s_csinhf.c += -fno-builtin-csinhf32 |
| 1726 |
CFLAGS-s_csqrtf.c += -fno-builtin-csqrtf32 |
| 1727 |
CFLAGS-s_ctanf.c += -fno-builtin-ctanf32 |
| 1728 |
CFLAGS-s_ctanhf.c += -fno-builtin-ctanhf32 |
| 1729 |
CFLAGS-s_erff.c += -fno-builtin-erff32 |
| 1730 |
CFLAGS-s_erfcf.c += -fno-builtin-erfcf32 |
| 1731 |
CFLAGS-e_expf.c += -fno-builtin-expf32 |
| 1732 |
CFLAGS-w_exp10f.c += -fno-builtin-exp10f32 |
| 1733 |
CFLAGS-s_exp10m1f.c += -fno-builtin-exp10m1f32 |
| 1734 |
CFLAGS-e_exp2f.c += -fno-builtin-exp2f32 |
| 1735 |
CFLAGS-s_exp2m1f.c += -fno-builtin-exp2m1f32 |
| 1736 |
CFLAGS-s_expm1f.c += -fno-builtin-expm1f32 |
| 1737 |
CFLAGS-s_fabsf.c += -fno-builtin-fabsf32 |
| 1738 |
CFLAGS-s_fdimf.c += -fno-builtin-fdimf32 |
| 1739 |
CFLAGS-s_floorf.c += -fno-builtin-floorf32 |
| 1740 |
CFLAGS-s_fmaf.c += -fno-builtin-fmaf32 |
| 1741 |
CFLAGS-s_fmaxf.c += -fno-builtin-fmaxf32 |
| 1742 |
CFLAGS-s_fmaximumf.c += -fno-builtin-fmaximumf32 |
| 1743 |
CFLAGS-s_fmaximum_magf.c += -fno-builtin-fmaximum_magf32 |
| 1744 |
CFLAGS-s_fmaximum_mag_numf.c += -fno-builtin-fmaximum_mag_numf32 |
| 1745 |
CFLAGS-s_fmaximum_numf.c += -fno-builtin-fmaximum_numf32 |
| 1746 |
CFLAGS-s_fmaxmagf.c += -fno-builtin-fmaxmagf32 |
| 1747 |
CFLAGS-s_fminf.c += -fno-builtin-fminf32 |
| 1748 |
CFLAGS-s_fminimumf.c += -fno-builtin-fminimumf32 |
| 1749 |
CFLAGS-s_fminimum_magf.c += -fno-builtin-fminimum_magf32 |
| 1750 |
CFLAGS-s_fminimum_mag_numf.c += -fno-builtin-fminimum_mag_numf32 |
| 1751 |
CFLAGS-s_fminimum_numf.c += -fno-builtin-fminimum_numf32 |
| 1752 |
CFLAGS-s_fminmagf.c += -fno-builtin-fminmagf32 |
| 1753 |
CFLAGS-w_fmodf.c += -fno-builtin-fmodf32 |
| 1754 |
CFLAGS-s_frexpf.c += -fno-builtin-frexpf32 |
| 1755 |
CFLAGS-s_compat_fromfpf.c += -fno-builtin-fromfpf32 |
| 1756 |
CFLAGS-s_compat_fromfpxf.c += -fno-builtin-fromfpxf32 |
| 1757 |
CFLAGS-s_fromfpf.c += -fno-builtin-fromfpf32 |
| 1758 |
CFLAGS-s_fromfpxf.c += -fno-builtin-fromfpxf32 |
| 1759 |
CFLAGS-s_getpayloadf.c += -fno-builtin-getpayloadf32 |
| 1760 |
CFLAGS-w_hypotf.c += -fno-builtin-hypotf32 |
| 1761 |
CFLAGS-w_ilogbf.c += -fno-builtin-ilogbf32 |
| 1762 |
CFLAGS-w_j0f.c += -fno-builtin-j0f32 |
| 1763 |
CFLAGS-w_j1f.c += -fno-builtin-j1f32 |
| 1764 |
CFLAGS-w_jnf.c += -fno-builtin-jnf32 |
| 1765 |
CFLAGS-s_ldexpf.c += -fno-builtin-ldexpf32 |
| 1766 |
CFLAGS-w_lgammaf.c += -fno-builtin-lgammaf32 |
| 1767 |
CFLAGS-w_lgammaf_r.c += -fno-builtin-lgammaf32_r |
| 1768 |
CFLAGS-w_llogbf.c += -fno-builtin-llogbf32 |
| 1769 |
CFLAGS-s_llrintf.c += -fno-builtin-llrintf32 |
| 1770 |
CFLAGS-s_llroundf.c += -fno-builtin-llroundf32 |
| 1771 |
CFLAGS-e_logf.c += -fno-builtin-logf32 |
| 1772 |
CFLAGS-w_log10f.c += -fno-builtin-log10f32 |
| 1773 |
CFLAGS-s_log10p1f.c += -fno-builtin-log10p1f32 |
| 1774 |
CFLAGS-w_log1pf.c += -fno-builtin-log1pf32 -fno-builtin-logp1f32 |
| 1775 |
CFLAGS-e_log2f.c += -fno-builtin-log2f32 |
| 1776 |
CFLAGS-s_log2p1f.c += -fno-builtin-log2p1f32 |
| 1777 |
CFLAGS-s_logbf.c += -fno-builtin-logbf32 |
| 1778 |
CFLAGS-s_lrintf.c += -fno-builtin-lrintf32 |
| 1779 |
CFLAGS-s_lroundf.c += -fno-builtin-lroundf32 |
| 1780 |
CFLAGS-s_modff.c += -fno-builtin-modff32 |
| 1781 |
CFLAGS-s_nanf.c += -fno-builtin-nanf32 |
| 1782 |
CFLAGS-s_nearbyintf.c += -fno-builtin-nearbyintf32 |
| 1783 |
CFLAGS-s_nextafterf.c += -fno-builtin-nextafterf32 |
| 1784 |
CFLAGS-s_nextdownf.c += -fno-builtin-nextdownf32 |
| 1785 |
CFLAGS-s_nextupf.c += -fno-builtin-nextupf32 |
| 1786 |
CFLAGS-e_powf.c += -fno-builtin-powf32 |
| 1787 |
CFLAGS-s_pownf.c += -fno-builtin-pownf32 |
| 1788 |
CFLAGS-s_powrf.c += -fno-builtin-powrf32 |
| 1789 |
CFLAGS-w_remainderf.c += -fno-builtin-remainderf32 |
| 1790 |
CFLAGS-s_remquof.c += -fno-builtin-remquof32 |
| 1791 |
CFLAGS-s_rintf.c += -fno-builtin-rintf32 |
| 1792 |
CFLAGS-s_rootnf.c += -fno-builtin-rootnf32 |
| 1793 |
CFLAGS-s_roundf.c += -fno-builtin-roundf32 |
| 1794 |
CFLAGS-s_roundevenf.c += -fno-builtin-roundevenf32 |
| 1795 |
CFLAGS-s_rsqrtf.c += -fno-builtin-rsqrtf32 |
| 1796 |
CFLAGS-w_scalblnf.c += -fno-builtin-scalblnf32 |
| 1797 |
CFLAGS-s_scalbnf.c += -fno-builtin-scalbnf32 |
| 1798 |
CFLAGS-s_setpayloadf.c += -fno-builtin-setpayloadf32 |
| 1799 |
CFLAGS-s_setpayloadsigf.c += -fno-builtin-setpayloadsigf32 |
| 1800 |
CFLAGS-s_sinf.c += -fno-builtin-sinf32 |
| 1801 |
CFLAGS-s_sincosf.c += -fno-builtin-sincosf32 |
| 1802 |
CFLAGS-w_sinhf.c += -fno-builtin-sinhf32 |
| 1803 |
CFLAGS-s_sinpif.c += -fno-builtin-sinpif32 |
| 1804 |
CFLAGS-w_sqrtf.c += -fno-builtin-sqrtf32 |
| 1805 |
CFLAGS-s_tanf.c += -fno-builtin-tanf32 |
| 1806 |
CFLAGS-s_tanhf.c += -fno-builtin-tanhf32 |
| 1807 |
CFLAGS-s_tanpif.c += -fno-builtin-tanpif32 |
| 1808 |
CFLAGS-w_tgammaf.c += -fno-builtin-tgammaf32 |
| 1809 |
CFLAGS-s_totalorderf.c += -fno-builtin-totalorderf32 |
| 1810 |
CFLAGS-s_totalordermagf.c += -fno-builtin-totalordermagf32 |
| 1811 |
CFLAGS-s_truncf.c += -fno-builtin-truncf32 |
| 1812 |
CFLAGS-s_compat_ufromfpf.c += -fno-builtin-ufromfpf32 |
| 1813 |
CFLAGS-s_compat_ufromfpxf.c += -fno-builtin-ufromfpxf32 |
| 1814 |
CFLAGS-s_ufromfpf.c += -fno-builtin-ufromfpf32 |
| 1815 |
CFLAGS-s_ufromfpxf.c += -fno-builtin-ufromfpxf32 |
| 1816 |
CFLAGS-s_y0f.c += -fno-builtin-y0f32 |
| 1817 |
CFLAGS-s_y1f.c += -fno-builtin-y1f32 |
| 1818 |
CFLAGS-s_ynf.c += -fno-builtin-ynf32 |
| 1819 |
|
| 1820 |
|
| 1821 |
|
| 1822 |
CFLAGS-s_modf.c += $(config-cflags-signaling-nans) |
| 1823 |
CFLAGS-s_modff.c += $(config-cflags-signaling-nans) |
| 1824 |
CFLAGS-s_modfl.c += $(config-cflags-signaling-nans) |
| 1825 |
CFLAGS-s_modff128.c += $(config-cflags-signaling-nans) |
| 1826 |
|
| 1827 |
|
| 1828 |
|
| 1829 |
|
| 1830 |
CFLAGS-s_fromfp.c += $(config-cflags-no-fp-builtin-inexact) |
| 1831 |
CFLAGS-s_fromfpx.c += $(config-cflags-no-fp-builtin-inexact) |
| 1832 |
CFLAGS-s_ufromfp.c += $(config-cflags-no-fp-builtin-inexact) |
| 1833 |
CFLAGS-s_ufromfpx.c += $(config-cflags-no-fp-builtin-inexact) |
| 1834 |
CFLAGS-s_fromfpf.c += $(config-cflags-no-fp-builtin-inexact) |
| 1835 |
CFLAGS-s_fromfpxf.c += $(config-cflags-no-fp-builtin-inexact) |
| 1836 |
CFLAGS-s_ufromfpf.c += $(config-cflags-no-fp-builtin-inexact) |
| 1837 |
CFLAGS-s_ufromfpxf.c += $(config-cflags-no-fp-builtin-inexact) |
| 1838 |
CFLAGS-s_fromfpl.c += $(config-cflags-no-fp-builtin-inexact) |
| 1839 |
CFLAGS-s_fromfpxl.c += $(config-cflags-no-fp-builtin-inexact) |
| 1840 |
CFLAGS-s_ufromfpl.c += $(config-cflags-no-fp-builtin-inexact) |
| 1841 |
CFLAGS-s_ufromfpxl.c += $(config-cflags-no-fp-builtin-inexact) |
| 1842 |
CFLAGS-s_fromfpf128.c += $(config-cflags-no-fp-builtin-inexact) |
| 1843 |
CFLAGS-s_fromfpxf128.c += $(config-cflags-no-fp-builtin-inexact) |
| 1844 |
CFLAGS-s_ufromfpf128.c += $(config-cflags-no-fp-builtin-inexact) |
| 1845 |
CFLAGS-s_ufromfpxf128.c += $(config-cflags-no-fp-builtin-inexact) |
| 1846 |
|
| 1847 |
$(addprefix $(objpfx),\ |
| 1848 |
$(filter-out $(tests-static) $(libm-tests-vector),\ |
| 1849 |
$(tests) $(tests-internal))): $(libm) |
| 1850 |
$(addprefix $(objpfx),$(tests-static)): $(objpfx)libm.a |
| 1851 |
define o-iterator-doit |
| 1852 |
$(foreach f,$($(o)-funcs),\ |
| 1853 |
$(objpfx)test-$(o)-$(f)): $(objpfx)test-$(o)-wrappers.o \ |
| 1854 |
$(libm) $(libmvec) |
| 1855 |
endef |
| 1856 |
object-suffixes-left := $(libmvec-tests) |
| 1857 |
include $(o-iterator) |
| 1858 |
|
| 1859 |
$(objpfx)test-fenv-tls: $(shared-thread-library) |