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)] PowerPC: Require IBM long double for conversion test. Date: Thu, 3 Dec 2020 21:53:40 +0000 (GMT) [thread overview] Message-ID: <20201203215340.96790386EC2D@sourceware.org> (raw) https://gcc.gnu.org/g:353312e1e1831a3942de21d23f2c1a8a5ee976b3 commit 353312e1e1831a3942de21d23f2c1a8a5ee976b3 Author: Michael Meissner <meissner@linux.ibm.com> Date: Thu Dec 3 16:52:21 2020 -0500 PowerPC: Require IBM long double for conversion test. The test c-c++-common/dfp/convert-bfp-11.c explicit expects long double to use the IBM 128-bit extended double format. In particular, some of the tests expect an infinity to be created if decimal values that are converted that are too large for IBM extended double. However, the numbers do fit in the range for IEEE 128-bit format, since it has a larger exponent than the IBM 128-bit format. The test fails because an infinity is not generated. gcc/testsuite/ 2020-12-03 Michael Meissner <meissner@linux.ibm.com> * c-c++-common/dfp/convert-bfp-11.c: Require IBM 128-bit long double. Diff: --- gcc/testsuite/c-c++-common/dfp/convert-bfp-11.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 95c433d2c24..8c970bb76db 100644 --- a/gcc/testsuite/c-c++-common/dfp/convert-bfp-11.c +++ b/gcc/testsuite/c-c++-common/dfp/convert-bfp-11.c @@ -1,4 +1,5 @@ -/* { dg-skip-if "" { ! "powerpc*-*-linux*" } } */ +/* { dg-require-effective-target dfp } */ +/* { 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.
next reply other threads:[~2020-12-03 21:53 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-12-03 21:53 Michael Meissner [this message] -- strict thread matches above, loose matches on Subject: below -- 2020-11-30 18:32 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=20201203215340.96790386EC2D@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: linkBe 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).