public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/18557] Inefficient code generated by -ftree-vectorize on Alpha Date: Tue, 03 Feb 2009 12:31:00 -0000 [thread overview] Message-ID: <20090203123112.32201.qmail@sourceware.org> (raw) In-Reply-To: <bug-18557-2744@http.gcc.gnu.org/bugzilla/> ------- Comment #10 from ubizjak at gmail dot com 2009-02-03 12:31 ------- By changing the test to: --cut here-- unsigned int p[64]; int f(void) { for (int i = 0; i < 64; ++i) p[i] = 0; } --cut here-- gcc -O2 -ftree-vectorize -mcpu=ev67 -std=c99 f: .frame $30,0,$26,0 ldgp $29,0($27) # 63 *prologue_ldgp_1 [length = 4] $f..ng: .prologue 1 lda $1,p # 37 *movdi_fix/4 [length = 4] lda $3,256($1) # 38 *adddi_internal/2 [length = 4] .align 4 $L2: stq $31,0($1) # 40 *movv2si_fix/4 [length = 4] lda $1,8($1) # 41 *adddi_internal/2 [length = 4] cmpeq $1,$3,$2 # 43 *setcc_internal [length = 4] beq $2,$L2 # 44 *bcc_normal [length = 4] ret $31,($26),1 # 67 *return_internal [length = 4] .end f -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18557
next prev parent reply other threads:[~2009-02-03 12:31 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-18557-2744@http.gcc.gnu.org/bugzilla/> 2009-02-03 12:24 ` ubizjak at gmail dot com 2009-02-03 12:25 ` ubizjak at gmail dot com 2009-02-03 12:31 ` ubizjak at gmail dot com [this message] 2009-02-03 12:51 ` falk at debian dot org [not found] <bug-18557-4@http.gcc.gnu.org/bugzilla/> 2012-07-13 8:54 ` rguenth at gcc dot gnu.org 2012-07-13 13:53 ` rguenth at gcc dot gnu.org 2004-11-18 23:54 [Bug tree-optimization/18557] New: " falk at debian dot org 2004-11-19 0:04 ` [Bug tree-optimization/18557] " pinskia at gcc dot gnu dot org 2004-11-19 3:42 ` dberlin at dberlin dot org 2004-11-19 10:50 ` giovannibajo at libero dot it 2004-11-19 11:29 ` falk at debian dot org 2004-11-19 14:21 ` pinskia at gcc dot gnu dot org 2004-11-19 18:24 ` dorit at il dot ibm dot com 2004-11-19 20:16 ` falk at debian dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20090203123112.32201.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).