This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/14886] strength reduction on floating point
- From: "anton at samba dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jul 2004 06:21:29 -0000
- Subject: [Bug rtl-optimization/14886] strength reduction on floating point
- References: <20040408035255.14886.amodra@bigpond.net.au>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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