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: frv: asm reloads for pseudos assigned to memory fail


> We had a long discussion on IRC about why FRV had to be different in
> this regard.  The reason is that FRV FDPIC doesn't use a fixed PIC
> register, and takes care of making sure we won't add new references to
> the GOT value during reload.  These patterns are part of this.
> Richard ended up approving the patch, so I'm checking it in.

But frv_cannot_force_const_mem already takes care of the PIC problem,
and you can avoid inadvertantly using a load in the non-PIC case by making
the load alternatives expensive enough.


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