This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR 60203: No direct move support for long double/_Decimal128 on powerpc ISA 2.07
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Michael Meissner <meissner at linux dot vnet dot ibm dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 14 Feb 2014 19:43:26 -0500
- Subject: Re: [PATCH] Fix PR 60203: No direct move support for long double/_Decimal128 on powerpc ISA 2.07
- Authentication-results: sourceware.org; auth=none
- References: <20140214225948 dot GA18526 at ibm-tiger dot the-meissners dot org>
On Fri, Feb 14, 2014 at 5:59 PM, Michael Meissner
<meissner@linux.vnet.ibm.com> wrote:
> When I added direct move support for ISA 2.07 (power8), I did not add direct
> move support for long double and _Decimal128 types. This patch adds the direct
> move support for those types when you are running in 64-bit mode. Now, there
> are still the problems raised in PR 25972 on machines without direct move, but
> this simple patch does help the machines with direct move.
>
> I bootstrapped the compiler with/without the change, and there were no
> regressions in the test suite. Is it ok to check into the tree?
>
> [gcc]
> 2014-02-14 Michael Meissner <meissner@linux.vnet.ibm.com>
>
> PR target/60203
> * config/rs6000/rs6000.md (rreg): Add TFmode, TDmode constraints.
> (mov<mode>_internal, TFmode/TDmode): Split TFmode/TDmode moves
> into 64-bit and 32-bit moves. On 64-bit moves, add support for
> using direct move instructions on ISA 2.07. Also adjust
> instruction length for 64-bit.
> (mov<mode>_64bit, TFmode/TDmode): Likewise.
> (mov<mode>_32bit, TFmode/TDmode): Likewise.
>
> [gcc/testsuite]
> 2014-02-14 Michael Meissner <meissner@linux.vnet.ibm.com>
>
> PR target/60203
> * gcc.target/powerpc/pr60203.c: New testsuite.
Okay.
Thanks, David