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] Some middle-end improvements for bitfield handling


On Tue, Jun 29, 2004 at 01:15:50PM +0200, Jakub Jelinek wrote:
> 	* simplify-rtx.c (simplify_binary_operation): Simplify
> 	((A & N) + B) & M -> (A + B) & M if M is pow2 minus 1 constant and
> 	N has at least all bits in M set as well.
> 
> 	* expr.c (expand_assignment): Optimize += or -= on a bit field in
> 	most significant bits.
> 
> 	* gcc.c-torture/execute/20040629-1.c: New test.

Ok.


r~


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