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/work028)] Revert patch.
Date: Sat, 21 Nov 2020 03:26:51 +0000 (GMT)	[thread overview]
Message-ID: <20201121032651.78CFE386102C@sourceware.org> (raw)

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

commit b4d793468f0bdab76f69efdead20f7dd8f3b644a
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Fri Nov 20 22:26:21 2020 -0500

    Revert patch.
    
    gcc/testsuite/
    2020-11-17  Michael Meissner  <meissner@linux.ibm.com>
    
            Revert patch.
            * c-c++-common/dfp/convert-bfp-11.c: Require IBM 128-bit long
            double.
            * lib/target-supports.exp (check_ppc_long_double_ibm): New
            function.
            (is-effective-target): Add ppc_long_double_ibm.

Diff:
---
 gcc/testsuite/c-c++-common/dfp/convert-bfp-11.c |  1 -
 gcc/testsuite/lib/target-supports.exp           | 19 -------------------
 2 files changed, 20 deletions(-)

diff --git a/gcc/testsuite/c-c++-common/dfp/convert-bfp-11.c b/gcc/testsuite/c-c++-common/dfp/convert-bfp-11.c
index 87f6716afb3..95c433d2c24 100644
--- a/gcc/testsuite/c-c++-common/dfp/convert-bfp-11.c
+++ b/gcc/testsuite/c-c++-common/dfp/convert-bfp-11.c
@@ -1,5 +1,4 @@
 /* { dg-skip-if "" { ! "powerpc*-*-linux*" } } */
-/* { dg-require-effective-target ppc_long_double_ibm } */
 
 /* Test decimal float conversions to and from IBM 128-bit long double. 
    Checks are skipped at runtime if long double is not 128 bits.
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index cac5a86671a..22acda2a74f 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -2336,24 +2336,6 @@ proc check_effective_target_ppc_ieee128_ok { } {
     }]
 }
 
-# Return 1 if the target is a powerpc with the long double format uses the IBM
-# extended double format.
-
-proc check_ppc_long_double_ibm { } {
-    return [check_cached_effective_target ppc_long_double_ibm {
-	check_runtime_nocache ppc_long_double_ibm {
-	    int main()
-	    {
-	      #ifndef __LONG_DOUBLE_IBM128__
-		return 1;
-	      #else
-		return 0;
-	      #endif
-	    }
-	}
-    }]
-}
-
 # Return 1 if the target supports executing VSX instructions, 0
 # otherwise.  Cache the result.
 
@@ -7957,7 +7939,6 @@ proc is-effective-target { arg } {
 	  "power10_hw"     { set selected [check_power10_hw_available] }
 	  "ppc_float128_sw" { set selected [check_ppc_float128_sw_available] }
 	  "ppc_float128_hw" { set selected [check_ppc_float128_hw_available] }
-	  "ppc_long_double_ibm" { set selected [check_ppc_long_double_ibm] }
 	  "ppc_recip_hw"   { set selected [check_ppc_recip_hw_available] }
 	  "ppc_cpu_supports_hw" { set selected [check_ppc_cpu_supports_hw_available] }
 	  "ppc_mma_hw"     { set selected [check_ppc_mma_hw_available] }


             reply	other threads:[~2020-11-21  3:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-21  3:26 Michael Meissner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-11-21  3:25 Michael Meissner
2020-11-21  2:52 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=20201121032651.78CFE386102C@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).