2006-01-28 00:15:15 +00:00
|
|
|
# The`long double' type is a distinct type we support if
|
|
|
|
# -mlong-double-128 option is used (or when it becomes a default
|
|
|
|
# when -mlong-double-64 is not used).
|
|
|
|
long-double-fcts = yes
|
|
|
|
sysdep-CFLAGS += -mlong-double-128
|
2015-11-13 12:03:46 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),stdlib)
|
|
|
|
tests += tst-strtold-ldbl-128ibm
|
|
|
|
$(objpfx)tst-strtold-ldbl-128ibm: $(libm)
|
|
|
|
endif
|
2016-02-18 22:54:07 +00:00
|
|
|
|
2018-02-15 17:44:47 +00:00
|
|
|
ldbl-tests = test-fmodl-ldbl-128ibm test-remainderl-ldbl-128ibm \
|
|
|
|
test-remquol-ldbl-128ibm test-canonical-ldbl-128ibm \
|
|
|
|
test-totalorderl-ldbl-128ibm
|
|
|
|
|
2016-02-18 22:54:07 +00:00
|
|
|
ifeq ($(subdir),math)
|
2018-02-15 17:44:47 +00:00
|
|
|
tests += $(ldbl-tests)
|
2016-02-18 22:54:07 +00:00
|
|
|
endif
|
2018-02-15 17:44:47 +00:00
|
|
|
|
|
|
|
# Long double files may need extra CFLAGS.
|
|
|
|
ldbl-128ibm-routines = s_nexttoward s_nexttowardf \
|
|
|
|
$(type-ldouble-routines) \
|
|
|
|
$(subst F,$(type-ldouble-suffix),$(libm-compat-calls)) \
|
|
|
|
$(subst F,$(type-ldouble-suffix),$(libm-calls)) \
|
|
|
|
$(subst F,$(type-ldouble-suffix),$(calls)) \
|
|
|
|
$(foreach f,$(libm-narrow-fns), \
|
|
|
|
$(subst F,$(f), \
|
|
|
|
$(libm-narrow-types-ldouble-yes)))
|
|
|
|
$(foreach suf,$(all-object-suffixes), \
|
|
|
|
$(foreach r,$(ldbl-128ibm-routines) $(ldbl-tests), \
|
|
|
|
$(objpfx)$(r)$(suf))): \
|
|
|
|
CFLAGS += $(type-ldouble-CFLAGS)
|