public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/meissner/heads/work029)] PowerPC: Use __builtin_pack_ibm128 instead of __builtin_pack_longdouble.
@ 2020-12-10 15:01 Michael Meissner
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Meissner @ 2020-12-10 15:01 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:1f0876c7aed59776da4cfd1a6c1b18388598dc06

commit 1f0876c7aed59776da4cfd1a6c1b18388598dc06
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Thu Dec 10 10:00:33 2020 -0500

    PowerPC: Use __builtin_pack_ibm128 instead of __builtin_pack_longdouble.
    
    libgcc/
    2020-12-10  Michael Meissner  <meissner@linux.ibm.com>
    
            * config/rs6000/ibm-ldouble.c (pack_ldouble): Use
            __builtin_pack_ibm128 instead of __builtin_pack_longdouble.

Diff:
---
 libgcc/config/rs6000/ibm-ldouble.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libgcc/config/rs6000/ibm-ldouble.c b/libgcc/config/rs6000/ibm-ldouble.c
index dd2a02373f2..12af26b7e45 100644
--- a/libgcc/config/rs6000/ibm-ldouble.c
+++ b/libgcc/config/rs6000/ibm-ldouble.c
@@ -102,9 +102,9 @@ __asm__ (".symver __gcc_qadd,_xlqadd@GCC_3.4\n\t"
 static inline IBM128_TYPE
 pack_ldouble (double dh, double dl)
 {
-#if defined (__LONG_DOUBLE_128__) && defined (__LONG_DOUBLE_IBM128__)	\
-    && !(defined (_SOFT_FLOAT) || defined (__NO_FPRS__))
-  return __builtin_pack_longdouble (dh, dl);
+#if (defined (__FLOAT128__)						\
+     || (defined (__LONG_DOUBLE_IBM128__) && !defined (_SOFT_FLOAT)))
+  return __builtin_pack_ibm128 (dh, dl);
 #else
   union
   {


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gcc(refs/users/meissner/heads/work029)] PowerPC: Use __builtin_pack_ibm128 instead of __builtin_pack_longdouble.
@ 2020-12-10 20:07 Michael Meissner
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Meissner @ 2020-12-10 20:07 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:037ebe51347a7ef56996224af781a31f69301534

commit 037ebe51347a7ef56996224af781a31f69301534
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Thu Dec 10 15:07:32 2020 -0500

    PowerPC: Use __builtin_pack_ibm128 instead of __builtin_pack_longdouble.
    
    libgcc/
    2020-12-10  Michael Meissner  <meissner@linux.ibm.com>
    
            * config/rs6000/ibm-ldouble.c (pack_ldouble): Use
            __builtin_pack_ibm128 instead of __builtin_pack_longdouble.

Diff:
---
 libgcc/config/rs6000/ibm-ldouble.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libgcc/config/rs6000/ibm-ldouble.c b/libgcc/config/rs6000/ibm-ldouble.c
index dd2a02373f2..aa9394adbbf 100644
--- a/libgcc/config/rs6000/ibm-ldouble.c
+++ b/libgcc/config/rs6000/ibm-ldouble.c
@@ -102,9 +102,9 @@ __asm__ (".symver __gcc_qadd,_xlqadd@GCC_3.4\n\t"
 static inline IBM128_TYPE
 pack_ldouble (double dh, double dl)
 {
-#if defined (__LONG_DOUBLE_128__) && defined (__LONG_DOUBLE_IBM128__)	\
+#if defined (__LONG_DOUBLE_128__)					\
     && !(defined (_SOFT_FLOAT) || defined (__NO_FPRS__))
-  return __builtin_pack_longdouble (dh, dl);
+  return __builtin_pack_ibm128 (dh, dl);
 #else
   union
   {


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gcc(refs/users/meissner/heads/work029)] PowerPC: Use __builtin_pack_ibm128 instead of __builtin_pack_longdouble.
@ 2020-12-10  4:10 Michael Meissner
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Meissner @ 2020-12-10  4:10 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:7c6d94ca47a4445ec80a0c38efec30da1e393e12

commit 7c6d94ca47a4445ec80a0c38efec30da1e393e12
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Wed Dec 9 23:10:04 2020 -0500

    PowerPC: Use __builtin_pack_ibm128 instead of __builtin_pack_longdouble.
    
    libgcc/
    2020-12-09  Michael Meissner  <meissner@linux.ibm.com>
    
            * config/rs6000/ibm-ldouble.c (pack_ldouble): Use
            __builtin_pack_ibm128 instead of __builtin_pack_longdouble.

Diff:
---
 libgcc/config/rs6000/ibm-ldouble.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libgcc/config/rs6000/ibm-ldouble.c b/libgcc/config/rs6000/ibm-ldouble.c
index dd2a02373f2..12af26b7e45 100644
--- a/libgcc/config/rs6000/ibm-ldouble.c
+++ b/libgcc/config/rs6000/ibm-ldouble.c
@@ -102,9 +102,9 @@ __asm__ (".symver __gcc_qadd,_xlqadd@GCC_3.4\n\t"
 static inline IBM128_TYPE
 pack_ldouble (double dh, double dl)
 {
-#if defined (__LONG_DOUBLE_128__) && defined (__LONG_DOUBLE_IBM128__)	\
-    && !(defined (_SOFT_FLOAT) || defined (__NO_FPRS__))
-  return __builtin_pack_longdouble (dh, dl);
+#if (defined (__FLOAT128__)						\
+     || (defined (__LONG_DOUBLE_IBM128__) && !defined (_SOFT_FLOAT)))
+  return __builtin_pack_ibm128 (dh, dl);
 #else
   union
   {


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-10 20:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-10 15:01 [gcc(refs/users/meissner/heads/work029)] PowerPC: Use __builtin_pack_ibm128 instead of __builtin_pack_longdouble Michael Meissner
  -- strict thread matches above, loose matches on Subject: below --
2020-12-10 20:07 Michael Meissner
2020-12-10  4:10 Michael Meissner

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).