This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Inefficient uses of JUMP_P
- From: Richard Henderson <rth at redhat dot com>
- To: Kazu Hirata <kazu at cs dot umass dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 29 Nov 2004 20:33:10 -0800
- Subject: Re: Inefficient uses of JUMP_P
- References: <20041129.222358.23007619.kazu@cs.umass.edu>
On Mon, Nov 29, 2004 at 10:23:58PM -0500, Kazu Hirata wrote:
> I am thinking about making these checks the callers' responsibility so
> that we will only have to do a single JUMP_P check for each "if"
> statement containing several jump predicates.
I think that will result in more source code bloat and missed
checks than anything else.
I think the thing to take away from this is that if we're often
seeing two or more predicates used together, then we have
incorrectly factored code. Better would be a new predicate
that performs the composite operation.
r~