This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PowerPC64 reload failure with misaligned fp load
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Alan Modra <amodra at gmail dot com>, Ulrich Weigand <Ulrich dot Weigand at de dot ibm dot com>
- Date: Fri, 25 Mar 2011 15:30:17 -0400
- Subject: Re: PowerPC64 reload failure with misaligned fp load
- References: <20110325150905.GM13754@bubble.grove.modra.org>
On Fri, Mar 25, 2011 at 11:09 AM, Alan Modra <amodra@gmail.com> wrote:
> Much of the following patch is based on Michael Meissner's support for
> vector reloads. ?The predicates.md change teaches the predicate used
> by the "Y" constraint to check cmodel medium addresses in case such
> addresses should ever be generated with invalid offsets.
> Bootstrapped and regression tested powerpc64-linux. OK mainline?
>
> ? ? ? ?* config/rs6000/predicates.md (word_offset_memref_op): Handle
> ? ? ? ?cmodel medium addresses.
> ? ? ? ?* config/rs6000/rs6000.c (rs6000_secondary_reload): Handle misaligned
> ? ? ? ?64-bit gpr loads and stores.
> ? ? ? ?(rs6000_secondary_reload_ppc64): New function.
> ? ? ? ?* config/rs6000/rs6000-protos.h: Declare it.
> ? ? ? ?* config/rs6000/rs6000.md (reload_di_store, reload_di_load): New.
Okay with me.
Want to give Uli a heads up in case he has any additional comments.
Thanks, David