This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/17236] inefficient code for long long multiply on x86
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Sep 2008 16:11:05 -0000
- Subject: [Bug rtl-optimization/17236] inefficient code for long long multiply on x86
- References: <bug-17236-1008@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #30 from ubizjak at gmail dot com 2008-09-06 16:11 -------
Current mainline (4.4.0 20080906) produces:
pushl %ebx
movl 8(%ebp), %eax
movl 16(%ebp), %edx
movl 20(%ebp), %ecx
movl 12(%ebp), %ebx
imull %eax, %ecx
imull %edx, %ebx
mull %edx
addl %ebx, %ecx
popl %ebx
leal (%ecx,%edx), %edx
So, fixed.
--
ubizjak at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|SUSPENDED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17236