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.ga10...@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.ga10...@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: meiss...@linux.ibm.com, phone: +1 (978) 899-4797

Reply via email to