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/6585] Redundant store/load instruction pairs on ix86



------- Comment #13 from ismail at pardus dot org dot tr  2007-11-23 06:02 -------
Mainline now looks like :

[~]> cat mul.s
        .file   "mul.c"
        .text
        .p2align 4,,15
.globl mul
        .type   mul, @function
mul:
        subl    $8, %esp
        movl    %ebx, (%esp)
        movl    24(%esp), %ecx
        movl    12(%esp), %ebx
        movl    %esi, 4(%esp)
        movl    16(%esp), %eax
        movl    20(%esp), %esi
        imull   %ebx, %ecx
        imull   %esi, %eax
        addl    %eax, %ecx
        movl    %esi, %eax
        mull    %ebx
        movl    (%esp), %ebx
        leal    (%ecx,%edx), %esi
        movl    %esi, %edx
        movl    4(%esp), %esi
        addl    $8, %esp
        ret
        .size   mul, .-mul
        .ident  "GCC: (GNU) 4.3.0 20071120 (experimental)"
        .section        .note.GNU-stack,"",@progbits

I think the bug can be closed as fixed now.


-- 

ismail at pardus dot org dot tr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ismail at pardus dot org dot
                   |                            |tr


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


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