This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PA PIC cleanup
- To: gcc-patches at gcc dot gnu dot org
- Subject: Re: PA PIC cleanup
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Tue, 20 Feb 2001 00:38:26 -0500 (EST)
- Cc: law at redhat dot com
> 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)