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 target/25277] missed optimization for simple mmx code.



------- Comment #3 from pluto at agmk dot net  2006-08-07 08:27 -------
gcc-4.1.2-20060712:

foo:    subl    $36, %esp       #,
        movq    %mm0, (%esp)    # x,
        movl    %ebx, 24(%esp)  #,
        movl    (%esp), %ebx    #, x
        movl    %esi, 28(%esp)  #,
        movl    4(%esp), %esi   #, x
        movq    %mm1, (%esp)    # y,
        movl    (%esp), %eax    #, y
        pxor    %mm0, %mm0      #
        movl    %edi, 32(%esp)  #,
        movl    %ebx, %edi      # x, D.2268
        movl    4(%esp), %edx   #, y
        movl    %esi, %ebx      # x, D.2276
        movq    %mm0, 16(%esp)  #,
        movl    %eax, %ecx      # y, D.2269
        movl    %edi, %eax      # D.2268, tmp71
        andl    $2139062143, %edi       #, D.2268
        xorl    %ecx, %eax      # D.2269, tmp71
        andl    $2139062143, %ecx       #, D.2269
        andl    $2139062143, %ebx       #, D.2276
        addl    %edi, %ecx      # D.2268, tmp75
        andl    $-2139062144, %eax      #, tmp71
        movl    32(%esp), %edi  #,
        xorl    %ecx, %eax      # tmp75, tmp71
        movl    %esi, %ecx      # D.2276, tmp77
        movl    28(%esp), %esi  #,
        movl    %eax, 16(%esp)  # tmp71,
        xorl    %edx, %ecx      # D.2277, tmp77
        movl    16(%esp), %eax  #,
        andl    $2139062143, %edx       #, D.2277
        andl    $-2139062144, %ecx      #, tmp77
        addl    %ebx, %edx      # D.2276, tmp81
        movl    24(%esp), %ebx  #,
        xorl    %edx, %ecx      # tmp81, tmp77
        movl    %eax, 8(%esp)   #,
        movl    %ecx, 12(%esp)  # tmp77,
        movq    8(%esp), %mm0   #, <result>
        addl    $36, %esp       #,
        ret


-- 

pluto at agmk dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.1.2 4.2.0


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


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