PowerPC64 reload failure with misaligned fp load

David Edelsohn dje.gcc@gmail.com
Fri Mar 25 20:15:00 GMT 2011


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



More information about the Gcc-patches mailing list