This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH [2 of 7], rs6000, add support for scalar floating point in Altivec registers
- 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>, David Edelsohn <dje dot gcc at gmail dot com>, "Joseph S. Myers" <joseph at codesourcery dot com>, "Maciej W. Rozycki" <macro at codesourcery dot com>, pattyo dot lists at gmail dot com, Segher Boessenkool <segher at kernel dot crashing dot org>, Olivier Hainque <hainque at adacore dot com>, David Malcolm <dmalcolm at redhat dot com>
- Date: Wed, 12 Nov 2014 21:27:48 -0500
- Subject: Re: PATCH [2 of 7], rs6000, add support for scalar floating point in Altivec registers
- Authentication-results: sourceware.org; auth=none
- References: <20141112002113 dot GA1489 at ibm-tiger dot the-meissners dot org> <20141112005622 dot GB3720 at ibm-tiger dot the-meissners dot org>
On Tue, Nov 11, 2014 at 7:56 PM, Michael Meissner
<meissner@linux.vnet.ibm.com> wrote:
> When I did the original power7 work, I put the reload handlers into vector.md,
> since they were only used for vector types. Since they are now more general, I
> am moving these insns from vector.md to rs6000.md. Is this patch acceptable to
> be checked in once the PowerPC boostraps again.
>
> 2014-11-11 Michael Meissner <meissner@linux.vnet.ibm.com>
>
> * config/rs6000/vector.md (VEC_R): Move secondary reload support
> insns to rs6000.md from vector.md.
> (reload_<VEC_R:mode>_<P:mptrsize>_store): Likewise.
> (reload_<VEC_R:mode>_<P:mptrsize>_load): Likewise.
> (vec_reload_and_plus_<mptrsize>): Likewise.
>
> * config/rs6000/rs6000.md (RELOAD): New mode iterator for all of
> the types that have secondary reload address support to load up a
> base register.
> (reload_<RELOAD:mode>_<P:mptrsize>_store): Move the reload
> handlers here from vector.md, and expand the types we generate
> reload handlers for.
> (reload_<RELOAD:mode>_<P:mptrsize>_load): Likewise.
> (vec_reload_and_plus_<mptrsize>): Likewise.
Okay.
Thanks, David