------- Additional Comments From uros at gcc dot gnu dot org  2004-11-23 14:43 
-------
Patch here: http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01867.html

Resulting ASM with '-O2 -msse2' is much better. Optimization did its job quite
well :)

.LC1:
        .long  1065353216
        .long  1082130432
        .long  0
        .long  0
        .text
        .p2align 4,,15
.globl main
        .type  main, @function
main:
        pushl  %ebp
        xorl   %eax, %eax
        movl   %esp, %ebp
        subl   $24, %esp
        rsqrtps .LC1, %xmm0
        andl   $-16, %esp
        subl   $16, %esp
        cvtps2pd        %xmm0, %xmm0
        movapd %xmm0, -24(%ebp)
        leave
        ret


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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

Reply via email to