This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [autovect] [patch] Tune up runtime code to chek if ranges are overlaping
- From: Roger Sayle <roger at eyesopen dot com>
- To: Victor Kaplansky <VICTORK at il dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 9 May 2006 16:07:49 -0600 (MDT)
- Subject: Re: [autovect] [patch] Tune up runtime code to chek if ranges are overlaping
On Tue, 9 May 2006, Victor Kaplansky wrote:
> + build2(GE_EXPR, boolean_type_node,
> + build1 (ABS_EXPR, integer_type_node,
> + build2(MINUS_EXPR, integer_type_node,
> + addr_base_a, addr_base_b)),
> + int_cst_32);
Missing whitespace between the calls to build2 and it's argument list.
Of course, if you used fold_build1 and fold_build2 instead of just
build1 and build2 respectively, the middle-end might be able to perform
these kinds of transformations for you :-) For example, if len == 0,
this test would simplify to "a != b".
Roger
--