This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: pa.md bugfix
- To: law at redhat dot com
- Subject: Re: pa.md bugfix
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Tue, 23 Jan 2001 12:50:45 -0500 (EST)
- Cc: gcc-patches at gcc dot gnu dot org
> > > + ;; We use the PIC register to ensure it's restored after a
> > > + ;; call in PIC mode. This can be non-optimal for non-PIC
> > > + ;; code but the real world cost should be unmeasurable.
> > > (define_insn "return_internal"
> >
> > Suggest two insns: pic_return_internal and return_internal. We only
> > need the extra use in pic_return_internal.
> Already considered it. It's not worth the time/effort.
>
> FWIW, there *is* a minor bug in the patch. It breaks PA64 because of the
> mode on the use of the PIC register. I'll fix that in a minute.
Are you still interested in this patch:
<http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01482.html>? The
EPILOGUE_USES part is no longer necessary although I have found that
it doesn't hurt to to define the uses in both places.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)