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]

Re: PA PIC cleanup


> This patch merges the problem pic pattern to load the address of a symbol
> out of the DLT via a LO_SUM memory reference into the standard movsi/movdi
> patterns.

While this is a possible solution to the DLT reload problem
(indeed I proposed a somewhat similar patch a few weeks ago
<http://gcc.gnu.org/ml/gcc-bugs/2001-01/msg00743.html>), I didn't
push this approach because I feel this still leaves the reload
issue with respect to the standard movsi/movdi patterns.  For
example, it seems possible that short DLT references could still
be incorrectly substituted.

I also think that it shouldn't be necessary to lump everything
but the kitchen sink into one universal move insn.  That's why
I proposed trying to fix the constraints so that DLT references
don't get substituted in the standard movsi/movdi patterns.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


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