public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "irar at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/45902] CPU2006 benchmark sphinx3 fails with vectorization Date: Tue, 02 Nov 2010 12:13:00 -0000 [thread overview] Message-ID: <20101102121300.6ix4_v__1VdaY79DmX5nPnF922eVyRexwZkOFXad2iQ@z> (raw) In-Reply-To: <bug-45902-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45902 --- Comment #12 from irar at gcc dot gnu.org 2010-11-02 12:13:01 UTC --- Author: irar Date: Tue Nov 2 12:12:56 2010 New Revision: 166175 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166175 Log: PR tree-optimization/45902 * tree-vectorizer.h (enum stmt_vec_info_type): Add new value for shift. (vect_get_slp_defs): Add arguments. * tree-vect-stmts.c (cost_for_stmt): Handle shifts. (vect_get_vec_def_for_operand): Use operand's type to determine number of units in the created vector. (vect_get_vec_defs): Pass scalar operands to vect_get_slp_defs. (vectorizable_shift): New function. (vectorizable_operation): Move code that handles shifts to vectorizable_shift. (vectorizable_type_demotion): Pass scalar operands to vect_get_slp_defs. (vectorizable_type_promotion, vectorizable_store): Likewise. (vect_analyze_stmt): Call vectorizable_shift. (vect_transform_stmt): Likewise. * tree-vect-slp.c (vect_get_constant_vectors): Add new argument. Use it as the operand to create vectors except for stores. (vect_get_slp_defs): Add new arguments. Pass them to vect_get_constant_vectors. Added: branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/vect/pr45902.c Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/testsuite/ChangeLog branches/gcc-4_5-branch/gcc/tree-vect-slp.c branches/gcc-4_5-branch/gcc/tree-vect-stmts.c branches/gcc-4_5-branch/gcc/tree-vectorizer.h
next prev parent reply other threads:[~2010-11-02 12:13 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-10-05 21:32 [Bug tree-optimization/45902] New: " pthaugen at gcc dot gnu.org 2010-10-05 21:39 ` [Bug tree-optimization/45902] " pthaugen at gcc dot gnu.org 2010-10-06 0:38 ` hjl.tools at gmail dot com 2010-10-06 2:29 ` pthaugen at gcc dot gnu.org 2010-10-07 13:08 ` irar at il dot ibm.com 2010-10-07 17:57 ` pthaugen at gcc dot gnu.org 2010-10-07 18:42 ` pthaugen at gcc dot gnu.org 2010-10-08 9:44 ` rguenth at gcc dot gnu.org 2010-10-10 8:59 ` irar at il dot ibm.com 2010-10-10 12:48 ` irar at il dot ibm.com 2010-10-10 13:27 ` rguenth at gcc dot gnu.org 2010-10-10 15:06 ` irar at il dot ibm.com 2010-10-11 12:19 ` irar at gcc dot gnu.org 2010-11-02 12:13 ` irar at gcc dot gnu.org [this message] 2010-11-02 12:21 ` irar at il dot ibm.com 2010-11-09 19:09 ` spop at gcc dot gnu.org 2010-11-09 19:18 ` spop at gcc dot gnu.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=20101102121300.6ix4_v__1VdaY79DmX5nPnF922eVyRexwZkOFXad2iQ@z \ --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).