------- Comment #4 from pluto at agmk dot net  2006-02-07 18:47 -------
I see here another missed optimization on x86-64.

float re(float _Complex a) { return __real__ a; }

# gcc-4.1:

re: movq    %xmm0, -8(%rsp)
    movss   -8(%rsp), %xmm0
    ret


we can use `movss %xmm0, %xmm0` here.


-- 


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

Reply via email to