public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/meissner/heads/work043)] Update IBM long double packing in libgcc on PowerPC.
@ 2021-03-30 20:51 Michael Meissner
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Meissner @ 2021-03-30 20:51 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:3c1b704cfe2c424b1eca8d3a4c2b7dfe44876690

commit 3c1b704cfe2c424b1eca8d3a4c2b7dfe44876690
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Tue Mar 30 16:51:20 2021 -0400

    Update IBM long double packing in libgcc on PowerPC.
    
    Assuming GCC was modified to support __ibm128 on older systems, this patch
    changes the ibm-ldouble.c function to always use the built-in function
    __builtin_pack_longdouble.
    
    libgcc/
    2021-03-30  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 4c13453f975..92b4b4c583d 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] 2+ messages in thread

* [gcc(refs/users/meissner/heads/work043)] Update IBM long double packing in libgcc on PowerPC.
@ 2021-03-30 20:45 Michael Meissner
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Meissner @ 2021-03-30 20:45 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:feac3a4a9f1f346e1aa6327b91b1c76342cccace

commit feac3a4a9f1f346e1aa6327b91b1c76342cccace
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Tue Mar 30 16:45:30 2021 -0400

    Update IBM long double packing in libgcc on PowerPC.
    
    Assuming GCC was modified to support __ibm128 on older systems, this patch
    changes the ibm-ldouble.c function to always use the built-in function
    __builtin_pack_longdouble.
    
    libgcc/
    2021-03-30  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 4c13453f975..92b4b4c583d 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] 2+ messages in thread

end of thread, other threads:[~2021-03-30 20:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-30 20:51 [gcc(refs/users/meissner/heads/work043)] Update IBM long double packing in libgcc on PowerPC Michael Meissner
  -- strict thread matches above, loose matches on Subject: below --
2021-03-30 20:45 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).