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 middle-end/20610] Real by complex multiplications perform unnecessary operations


------- Additional Comments From pcarlini at suse dot de  2005-03-24 00:26 -------
For concreteness, this is what I get (with 4.0.0 20050321) if I add
-ffast-math to your switches, seems not so bad, first blush:

_Z1fv:
.LFB1939:
        pushl   %ebp
.LCFI0:
        movl    %esp, %ebp
.LCFI1:
        movsd   c, %xmm0
        movsd   b, %xmm1
        mulsd   %xmm0, %xmm1
        mulsd   b+8, %xmm0
        movsd   %xmm0, a+8
        movsd   %xmm1, a
        popl    %ebp
        ret

-- 


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


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