This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH], PowerPC long double transition patches, v2, Patch #5 (fix negif3)
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Michael Meissner <meissner at linux dot ibm dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, David Edelsohn <dje dot gcc at gmail dot com>, Bill Schmidt <wschmidt at linux dot vnet dot ibm dot com>
- Date: Thu, 21 Jun 2018 17:34:31 -0500
- Subject: Re: [PATCH], PowerPC long double transition patches, v2, Patch #5 (fix negif3)
- References: <20180620141505.GA30942@ibm-toto.the-meissners.org> <20180620144604.GE945@ibm-toto.the-meissners.org>
On Wed, Jun 20, 2018 at 10:46:04AM -0400, Michael Meissner wrote:
> This patch fixes a thinko that I had that prevented negation of __ibm128 values
> if long double is IEEE 128-bit binary floating point.
>
> I have checked this on a little endian power8 system with builds where the long
> double is set to IEEE and IBM 128-bit binary floating point, and it fixes some
> tests in the testsuite when long double is IEEE. Can I install this on the
> trunk and back port it to GCC 8.x?
Okay, thanks.
Segher
> * config/rs6000/rs6000.md (neg<mode>2_internal): Use the correct
> mode to check whether the mode is IBM extended.