From: "Paul E. Murphy" <murphyp@linux.vnet.ibm.com>
To: libc-alpha@sourceware.org
Subject: [PATCH 6/7] ldbl-128ibm: Let long double files have specific compiler flags
Date: Fri, 14 Feb 2020 16:11:00 -0000 [thread overview]
Message-ID: <20200214161051.32579-7-murphyp@linux.vnet.ibm.com> (raw)
In-Reply-To: <20200214161051.32579-1-murphyp@linux.vnet.ibm.com>
From: Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Soon, powerpc64le will need to provide extra compiler flags to the long
double files in order to continue to build using the IBM 128-bit
extended floating point type as long double.
---
sysdeps/ieee754/ldbl-128ibm/Makefile | 22 +++++++++++++++++++---
1 file changed, 19 insertions(+), 3 deletions(-)
diff --git a/sysdeps/ieee754/ldbl-128ibm/Makefile b/sysdeps/ieee754/ldbl-128ibm/Makefile
index bdba6cc6b5..c38d4f6ac2 100644
--- a/sysdeps/ieee754/ldbl-128ibm/Makefile
+++ b/sysdeps/ieee754/ldbl-128ibm/Makefile
@@ -9,8 +9,24 @@ tests += tst-strtold-ldbl-128ibm
$(objpfx)tst-strtold-ldbl-128ibm: $(libm)
endif
+ldbl-tests = test-fmodl-ldbl-128ibm test-remainderl-ldbl-128ibm \
+ test-remquol-ldbl-128ibm test-canonical-ldbl-128ibm \
+ test-totalorderl-ldbl-128ibm
+
ifeq ($(subdir),math)
-tests += test-fmodl-ldbl-128ibm test-remainderl-ldbl-128ibm \
- test-remquol-ldbl-128ibm test-canonical-ldbl-128ibm \
- test-totalorderl-ldbl-128ibm
+tests += $(ldbl-tests)
endif
+
+# 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)
--
2.21.1
next prev parent reply other threads:[~2020-02-14 16:11 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-14 16:10 [PATCH 0/7] Remaining ldbl-128ibm-compat support Paul E. Murphy
2020-02-14 16:11 ` [PATCH 5/7] ldbl-128ibm-compat: enforce ibm128 on compat tests Paul E. Murphy
2020-02-27 20:39 ` Tulio Magno Quites Machado Filho
2020-02-27 22:45 ` Paul E Murphy
2020-02-28 14:57 ` Paul E Murphy
2020-02-14 16:11 ` [PATCH 2/7] ldbl-128ibm-compat: enforce correct abi flags on internal file Paul E. Murphy
2020-02-21 14:35 ` Paul E Murphy
2020-02-14 16:11 ` [PATCH 1/7] ldbl-128ibm-compat: Provide nexttoward functions Paul E. Murphy
2020-02-27 20:17 ` Tulio Magno Quites Machado Filho
2020-02-28 14:56 ` Paul E Murphy
2020-02-14 16:11 ` [PATCH 4/7] ldbl-128ibm-compat: fixup subdir location of several funcs Paul E. Murphy
2020-02-21 14:34 ` Paul E Murphy
2020-02-14 16:11 ` Paul E. Murphy [this message]
2020-03-03 20:18 ` [PATCH 6/7] ldbl-128ibm: Let long double files have specific compiler flags Paul E Murphy
2020-03-06 19:38 ` Paul E Murphy
2020-02-14 16:11 ` [PATCH 3/7] ldbl-128ibm-compat: Add tests for IBM long double functions Paul E. Murphy
2020-02-14 17:31 ` Joseph Myers
2020-02-14 18:22 ` Paul E Murphy
2020-02-14 21:14 ` Joseph Myers
2020-02-17 22:06 ` [PATCHv2 " Paul E. Murphy
2020-02-17 22:25 ` Joseph Myers
2020-02-18 22:01 ` [PATCHv3] " Paul E. Murphy
2020-02-28 15:33 ` [PATCHv3][Ping] " Paul E Murphy
2020-03-03 20:17 ` Paul E Murphy
2020-03-06 19:37 ` Paul E Murphy
2020-02-14 16:11 ` [PATCH 7/7] RFC: ldbl-128ibm-compat: PLT redirects for using ldbl redirects internally Paul E. Murphy
2020-02-27 20:58 ` Tulio Magno Quites Machado Filho
2020-02-28 17:21 ` Paul E Murphy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200214161051.32579-7-murphyp@linux.vnet.ibm.com \
--to=murphyp@linux.vnet.ibm.com \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).