This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Reload problem
- From: Joern Rennecke <joern dot rennecke at superh dot com>
- To: wilson at specifixinc dot com (Jim Wilson)
- Cc: ebotcazou at libertysurf dot fr (Eric Botcazou), gcc at gcc dot gnu dot org
- Date: Fri, 12 Sep 2003 13:28:42 +0100 (BST)
- Subject: Re: Reload problem
> On Thu, 2003-09-11 at 02:09, Eric Botcazou wrote:
> > It is my understanding that recognizing insns is an expensive process, so I
> > think that adding it to push_reload would be the last resort solution.
Jim Wilson:
> Yes, it is expensive, so we want to avoid doing it too often. It is
> however the only test that exactly describes the condition we are
> looking for. Anything else will require compromising in some cases.
I think the cost is not that significant, since we are only doing this
check when we are likely to emit the instruction we are trying to
recognize, which then has to be emitted and recognized, too.
If we are seriously concerned about performance there, we can cache the
insn code or even the entire emitted instruction for use by gen_reload.