From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3361 invoked by alias); 29 Mar 2007 22:47:41 -0000 Received: (qmail 3265 invoked by uid 48); 29 Mar 2007 22:47:31 -0000 Date: Thu, 29 Mar 2007 22:47:00 -0000 Message-ID: <20070329224731.3264.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/31396] Inline code performance much worse than out-of-line In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jamagallon at ono dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-03/txt/msg02739.txt.bz2 ------- 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