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 rtl-optimization/14886] strength reduction on floating point


------- Additional Comments From anton at samba dot org  2004-07-04 06:21 -------
f1 when compiled 64bit is worse, no use of count register (bug 16356), redundant
sign extension etc:

.L2:
        rldicl. 0,11,0,53
        sradi 9,11,53
        addi 9,9,1
        cmpldi 7,9,2
        beq- 0,.L3
        xor 0,11,0
        blt- 7,.L3
        ori 11,0,2048
.L3:
        lfs 13,0(10)
        std 11,-16(1)
        lfd 12,-16(1)
        fcfid 12,12
        frsp 0,12
        fmuls 0,0,13
#APP
        # 0
#NO_APP
        addi 0,11,1
        extsw 11,0
        cmpwi 7,11,499
        ble+ 7,.L2


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14886


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