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: PowerPC64 reload failure with misaligned fp load


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


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