This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] New simplify_associative_operation function


On Sat, Aug 16, 2003 at 09:47:22PM -0600, Roger Sayle wrote:
> 	* simplify-rtx.c (associative_constant_p): New function to test
> 	whether an RTX expression is an immediate constant.
> 	(simplify_associative_operation): New function to perform some
> 	reassociation optimizations of associative binary expressions.
> 	(simplify_binary_operation): Use simplify_associative_operation
> 	to simplify PLUS, MULT, AND, IOR, XOR, SMIN, SMAX, UMIN and UMAX.
> 	Floating point expressions are only reassociated when unsafe
> 	math optimizations are permitted.

Ok.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]