This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r128833 - in /trunk/gcc: ChangeLog cse.c simpli...
- From: bonzini at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 27 Sep 2007 11:29:11 -0000
- Subject: r128833 - in /trunk/gcc: ChangeLog cse.c simpli...
Author: bonzini
Date: Thu Sep 27 11:29:10 2007
New Revision: 128833
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128833
Log:
2007-09-04 Paolo Bonzini <bonzini@gnu.org>
* simplify-rtx.c (comparison_result): New.
(simplify_const_relational_operation): Use it instead of the five
"equal|op[01]ltu?" variables; consequently remove redundant "else"s.
Improve bounds-checking optimizations; remove subsumed POPCOUNT
optimizations. Extract nonzero_address_p optimizations into a
separate "if" together with optimizations where op1 is const0_rtx.
Optimize comparing an IOR with zero. Simplify op0 RELOP op0 for
floating-point arguments too when appropriate. Hoist test for ABS
outside the final switch statement.
* cse.c (fold_rtx): Don't look for an IOR equivalent of
folded_arg0 if we found a constant equivalent. Remove
transformations done in simplify-rtx.c for "op0 RELOP op0".
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cse.c
trunk/gcc/simplify-rtx.c