[Bug middle-end/31396] Inline code performance much worse than out-of-line

jamagallon at ono dot com gcc-bugzilla@gcc.gnu.org
Thu Mar 29 22:47:00 GMT 2007



------- Comment #4 from jamagallon at ono dot com  2007-03-29 23:47 -------
Assembler for the opteron.

out-of-line:
.L2:
    cvtss2sd    (%rdx,%rax,4), %xmm0
    incq    %rax
    cmpq    $268435456, %rax
    addsd   %xmm0, %xmm1
    jne .L2

inline:

.L11:
    cvtss2sd    (%rdx,%rax,4), %xmm0
    incq    %rax
    cmpq    $268435456, %rax
    addsd   24(%rsp), %xmm0
    movsd   %xmm0, 24(%rsp)
    jne .L11


-- 


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



More information about the Gcc-bugs mailing list