--- Comment #14 from ubizjak at gmail dot com 2008-02-06 11:05 ---
We still generate:
.L8:
movl(%ebx), %eax
addl$1, %edx
addl$4, %ebx
fldl(%edi,%eax,8)
fmull (%ecx)
addl$8, %ecx
cmpl%edx, %esi
fadd
--- Comment #13 from steven at gcc dot gnu dot org 2008-01-12 14:34 ---
Re. comment #7, "Assignment to sum should be moved before if..."
This is called code hoisting, and it is not performed in GCC except with -Os.
See bug 24001, bug 33315, and other reports about the same issue in Bug
--- Comment #12 from ubizjak at gmail dot com 2007-12-16 23:49 ---
(In reply to comment #11)
> Open regression with no activity since February 14. Ping?
Current 4.3 SVN produces (-O3 -march=pentium4):
.L8:
movl(%ebx), %eax#* ivtmp.33, tmp84
fldl(%edi,%eax,8
--- Comment #11 from steven at gcc dot gnu dot org 2007-12-16 23:17 ---
Open regression with no activity since February 14. Ping?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21676
--
mmitchel at gcc dot gnu dot org changed:
What|Removed |Added
Target Milestone|4.1.2 |4.1.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21676