This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR 60203: No direct move support for long double/_Decimal128 on powerpc ISA 2.07


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]