This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Reload patch for PA call rewrite.
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: dave at hiauly1 dot hia dot nrc dot ca (John David Anglin)
- Cc: law at redhat dot com, rth at redhat dot com, gcc-patches at gcc dot gnu dot org
- Date: Thu, 24 Oct 2002 19:26:46 -0400 (EDT)
- Subject: Re: Reload patch for PA call rewrite.
> I did see a small but consistent improvement in the running time
> of genattrtab with sibcalls enabled. I don't know where this arises
> but I doubt it is from any saving in the call sequence itself.
> There are small differences in how the delay slot is used. For
> regular calls, we use a branch and link, and for sibcalls, we just
> branch. That's the sum of the differences as I see it.
I just rechecked the above. With the only change being the value for
FUNCTION_OK_FOR_SIBCALL, the times for genattrtab on an a500 running
hppa64-hp-hpux11.11 with the call rewrite were 13.24 seconds with
sibcalls and 13.71 seconds without sibcalls, respectively. These
numbers are consistent with what I measured using an earlier version
of the patch. I think the 3 percent improvement is worthwhile.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)