This is the mail archive of the gcc@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: Expanding a load instruction


Jean Christophe Beyler wrote:
> I'll be looking into this but I thought that GO_IF_LEGITIMATE_ADDRESS
> is for branches ?

  No, absolutely not.  GILA is a general filter that has overall control over
which forms of addressing modes used to address memory may be generated in RTL.

http://gcc.gnu.org/onlinedocs/gccint/Addressing-Modes.html

  Hmm, I must have been looking at a slightly outdated build of the docs;
according to that page it's been deprecated on HEAD in favour of the hook
TARGET_LEGITIMATE_ADDRESS_P.  You'll need to check the particular sources
you're using, that must be a fairly recent change(*).


    cheers,
      DaveK
-- 
(*) - Yes: it was changed in r.147534, around four weeks ago.
http://gcc.gnu.org/viewcvs?view=rev&revision=147534


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