This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/31396] Inline code performance much worse than out-of-line
- From: "jamagallon at ono dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Mar 2007 22:47:31 -0000
- Subject: [Bug middle-end/31396] Inline code performance much worse than out-of-line
- References: <bug-31396-14334@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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