This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/22156] [4.0/4.1 Regression] bit-field copying regressed
- 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: 23 Jun 2005 05:04:33 -0000
- Subject: [Bug middle-end/22156] [4.0/4.1 Regression] bit-field copying regressed
- References: <20050623050243.22156.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-23 05:04 -------
Note this also effects PPC, though not as badly as there is only one load:
in 3.3.3:
_f:
lwz r0,0(r4)
stw r0,0(r3)
blr
in 4.0.0 and above:
_f:
lwz r11,0(r4)
lwz r0,0(r3)
slwi r2,r11,2
slwi r9,r11,1
rlwimi r0,r2,30,2,2
rlwimi r0,r9,31,1,1
rlwimi r0,r11,0,0,0
stw r0,0(r3)
blr
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22156