This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/15596] [3.5 Regression] Missed optimization with bitfields
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 May 2004 22:38:54 -0000
- Subject: [Bug tree-optimization/15596] [3.5 Regression] Missed optimization with bitfields
- References: <20040522223754.15596.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-22 22:38 -------
Here is the asm after the tree-ssa merge:
lwz r0,0(r3)
rlwimi r0,r4,12,0,19
ori r0,r0,2048
rlwinm r0,r0,0,22,20
rlwimi r0,r5,9,22,22
stw r0,0(r3)
blr
Before the tree-ssa merge:
slwi r4,r4,12
ori r4,r4,2048
rlwimi r4,r5,9,22,22
stw r4,0(r3)
blr
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15596