This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/15256] [tree-ssa] Optimize manual bitfield manipilation.
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 15 Feb 2012 07:47:54 +0000
- Subject: [Bug tree-optimization/15256] [tree-ssa] Optimize manual bitfield manipilation.
- Auto-submitted: auto-generated
- References: <bug-15256-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15256
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|rguenth at gcc dot gnu.org |pinskia at gcc dot gnu.org
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-15 07:47:54 UTC ---
First we want to fold "(eax & 1) ^ 1" into "(~eax) & 1)" and then we can fold:
"(eax_1 & ~N) | (~eax_1 & N)" into eax ^ N .