public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/51581] Integer division by constant is not vectorized Date: Thu, 28 Jun 2012 17:54:00 -0000 [thread overview] Message-ID: <bug-51581-4-CLakbHfKEH@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-51581-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51581 --- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-06-28 17:54:03 UTC --- Author: jakub Date: Thu Jun 28 17:53:58 2012 New Revision: 189053 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189053 Log: PR tree-optimization/51581 * tree-vect-stmts.c (permute_vec_elements): Add forward decl. (vectorizable_operation): Handle vectorization of MULT_HIGHPART_EXPR also using VEC_WIDEN_MULT_*_EXPR or builtin_mul_widen_* plus VEC_PERM_EXPR if vector MULT_HIGHPART_EXPR isn't supported. * tree-vect-patterns.c (vect_recog_divmod_pattern): Use MULT_HIGHPART_EXPR instead of VEC_WIDEN_MULT_*_EXPR and shifts. * gcc.dg/vect/pr51581-4.c: New test. Added: trunk/gcc/testsuite/gcc.dg/vect/pr51581-4.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-patterns.c trunk/gcc/tree-vect-stmts.c
prev parent reply other threads:[~2012-06-28 17:54 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-12-16 16:25 [Bug tree-optimization/51581] New: " jakub at gcc dot gnu.org 2011-12-16 16:31 ` [Bug tree-optimization/51581] " jakub at gcc dot gnu.org 2011-12-19 9:35 ` rguenth at gcc dot gnu.org 2012-06-13 19:22 ` jakub at gcc dot gnu.org 2012-06-14 13:32 ` jakub at gcc dot gnu.org 2012-06-15 11:08 ` jakub at gcc dot gnu.org 2012-06-15 11:09 ` jakub at gcc dot gnu.org 2012-06-28 17:54 ` jakub at gcc dot gnu.org [this message]
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=bug-51581-4-CLakbHfKEH@http.gcc.gnu.org/bugzilla/ \ --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).