This is the mail archive of the gcc-bugs@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]

[Bug middle-end/22156] [4.0/4.1 Regression] bit-field copying regressed


------- 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


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