This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: The current egcs is broken on x86
- To: meissner at cygnus dot com (Michael Meissner)
- Subject: Re: The current egcs is broken on x86
- From: hjl at lucon dot org (H.J. Lu)
- Date: Mon, 15 Jun 1998 15:47:39 -0700 (PDT)
- Cc: egcs at cygnus dot com
>
> | Why this? Have you looked my version? It doesn't make any senses
> | to call single_set nor reg_mentioned_p if REG_LIVE_LENGTH is
> | negative.
>
> No I didn't see your version. Yeah, I might change the order, but its harmless
> to do the tests in either order (unlike the validate test which changes the
> insn). The single_set BTW will always be true at present, since the caller has
> called single_set before setting the variables. I kept it in the function,
> since I don't like dependencies like that (ie, if somebody else calls
> copy_src_or_dest, it may not be the case that single_set is true). If you look
> at the comments in regs.h, you will see that it is expected to be rare that
> REG_LIVE_LENGTH is negative.
>
It may be rare. But it is not that rare. Change the order should help
egcs performance.
--
H.J. Lu (hjl@gnu.org)