public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATH 0/3] Updated PowerPC tests for long double
@ 2020-11-21  5:22 Michael Meissner
  2020-11-21  5:33 ` [PATCH 1/3] PowerPC: Add long double target-supports Michael Meissner
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Michael Meissner @ 2020-11-21  5:22 UTC (permalink / raw)
  To: gcc-patches, Michael Meissner, Segher Boessenkool,
	David Edelsohn, Bill Schmidt, Peter Bergner

These 3 patches are the slight reworking of two separate patches for the
library tests.

The first patch that has been replaced is:
Date: Sun, 15 Nov 2020 12:17:47 -0500
Subject: [PATCH] PowerPC Fix ibm128 defaults for pr70117.c test.
Message-ID: <20201115171747.GA10343@ibm-toto.the-meissners.org>

The second patch that has been replaced is:
Date: Sun, 15 Nov 2020 12:23:50 -050
Subject: [PATCH] PowerPC: Restrict long double test to use IBM long double.
Message-ID: <20201115172350.GA10956@ibm-toto.the-meissners.org>

These 3 patches are:

1) Patch to target-supports.exp that adds 3 new targets to explicitly test for
the PowerPC long double type.  In the previous patches, I only added the patch
that I needed (long double == IBM 128-bit).  This time, I'm adding all 3
varieties of long double.  I also insured that the target-supports only runs on
PowerPC.

2) Patch to gcc/testsuite/gcc.target/powerpc/pr70117.c to restrict it to IBM
128-bit long double.  I removed the #ifdefs in the test that tried to use
__ibm128.  The previous patch tried to use a #define for the IEEE 128-bit
maximum value.

3) Patch to gcc/testsuite/c-c++-common/dfp/convert-bfp-11.c to only run the
test if long double is IBM 128-bit.  I moved the target supports code to the
first patch in this series.  I also changed the requirement from powerpc-linux
to dfp.

I have run these tests with compilers using IEEE 128-bit long double, IBM
128-bit long double, and 64-bit long double.  I verified that the tests are
skipped as UNSUPPORTED if long double is not IBM 128-bit, and they pass on IBM
128-bit long double.

Can I check these patches into the master branch?  Ideally, I would like to
back port these patches to earlier GCC branches.

-- 
Michael Meissner, IBM
IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA
email: meissner@linux.ibm.com, phone: +1 (978) 899-4797

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH 0/3] Updates for float128 tests
@ 2020-12-04  3:41 Michael Meissner
  2020-12-04  3:57 ` [PATCH 2/3] PowerPC: require IBM long double for pr70117 Michael Meissner
  0 siblings, 1 reply; 14+ messages in thread
From: Michael Meissner @ 2020-12-04  3:41 UTC (permalink / raw)
  To: gcc-patches, Michael Meissner, Segher Boessenkool,
	David Edelsohn, Bill Schmidt, Peter Bergner

These patches update the test suite patches I posted on November 21.

There are 3 patches in this series.

    1)	The first patch adds new target-support options;
    2)	The second patch updates pr70117.c; (and)
    3)	The third patch updates convert-bfp-11.c.

In the target supports patches, I expanded the target supports to include more
options to select targets with an appropriate long double format.  There are
four options to check whether the current long double is:

    1)	128-bit using the IBM extended double format;
    2)	128-bit using the IEEE format;
    3)	Long double is 128-bits (i.e. either IBM or IEEE); (and)
    4)	Long double is 64-bits.

I also added two new target supports:

    1)	If you can switch the long double to IBM extended double via compiler
	options and the GLIBC supports this change.  If you are using an
	existing GLIBC with IBM long double, this should work since you aren't
	switching the long double format.

    2)	And likewise if you can switch the long double to IEEE 128-bit.

I modified the two tests to use the new target supports where we select IBM
128-bit at compile time.  This will allow these two tests to be tested with the
current compilers, and also continue to running these two tests when the
default long double has been changed.  I have built compilers with each of the
three long double formats being default, and all 3 compilers run these tests
(providing I use GLIBC 2.32 or later).

-- 
Michael Meissner, IBM
IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA
email: meissner@linux.ibm.com, phone: +1 (978) 899-4797

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

end of thread, other threads:[~2020-12-17 18:18 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-21  5:22 [PATH 0/3] Updated PowerPC tests for long double Michael Meissner
2020-11-21  5:33 ` [PATCH 1/3] PowerPC: Add long double target-supports Michael Meissner
2020-11-23 20:28   ` Segher Boessenkool
2020-11-24 21:44     ` Michael Meissner
2020-11-24 23:49       ` Segher Boessenkool
2020-11-21  5:37 ` [PATCH 2/3] PowerPC: require IBM long double for pr70117 Michael Meissner
2020-11-21 15:46   ` David Edelsohn
2020-11-22  6:31     ` Michael Meissner
2020-11-23 20:55   ` Segher Boessenkool
2020-11-21  5:39 ` [PATCH 3/3] PowerPC: Require IBM long double for conversion test Michael Meissner
2020-11-23 21:23   ` Segher Boessenkool
2020-12-04  3:41 [PATCH 0/3] Updates for float128 tests Michael Meissner
2020-12-04  3:57 ` [PATCH 2/3] PowerPC: require IBM long double for pr70117 Michael Meissner
2020-12-14 23:26   ` Segher Boessenkool
2020-12-17 18:18     ` 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).