public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Michael Meissner <meissner@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc(refs/users/meissner/heads/work029)] Revert patch.
Date: Thu, 10 Dec 2020 20:04:13 +0000 (GMT)	[thread overview]
Message-ID: <20201210200413.ABFD5385782C@sourceware.org> (raw)

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

commit f4446fb5da7d75faf047419bb9d7224a4e3fe49a
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Thu Dec 10 15:03:35 2020 -0500

    Revert patch.
    
    libgcc/
    2020-12-10  Michael Meissner  <meissner@linux.ibm.com>
    
            Revert.
            * 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 12af26b7e45..dd2a02373f2 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 (__FLOAT128__)						\
-     || (defined (__LONG_DOUBLE_IBM128__) && !defined (_SOFT_FLOAT)))
-  return __builtin_pack_ibm128 (dh, dl);
+#if defined (__LONG_DOUBLE_128__) && defined (__LONG_DOUBLE_IBM128__)	\
+    && !(defined (_SOFT_FLOAT) || defined (__NO_FPRS__))
+  return __builtin_pack_longdouble (dh, dl);
 #else
   union
   {


             reply	other threads:[~2020-12-10 20:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-10 20:04 Michael Meissner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-12-04  2:18 Michael Meissner
2020-12-03 21:35 Michael Meissner

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=20201210200413.ABFD5385782C@sourceware.org \
    --to=meissner@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.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).