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/61299] [4.9/4.10 Regression] Performance regression for the SIMD rotate operation with GCC vector extensions Date: Fri, 27 Jun 2014 07:04:00 -0000 [thread overview] Message-ID: <bug-61299-4-ZPVC8EcGjv@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-61299-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61299 --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Jun 27 07:03:50 2014 New Revision: 212063 URL: https://gcc.gnu.org/viewcvs?rev=212063&root=gcc&view=rev Log: PR tree-optimization/57233 PR tree-optimization/61299 * tree-vect-generic.c (get_compute_type, count_type_subparts): New functions. (expand_vector_operations_1): Use them. If {L,R}ROTATE_EXPR would be lowered to scalar shifts, check if corresponding shifts and vector BIT_IOR_EXPR are supported and don't lower or lower just to narrower vector type in that case. * expmed.c (expand_shift_1): Fix up handling of vector shifts and rotates. * gcc.dg/pr57233.c: New test. * gcc.target/i386/pr57233.c: New test. * gcc.target/i386/sse2-pr57233.c: New test. * gcc.target/i386/avx-pr57233.c: New test. * gcc.target/i386/avx2-pr57233.c: New test. * gcc.target/i386/avx512f-pr57233.c: New test. * gcc.target/i386/xop-pr57233.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr57233.c trunk/gcc/testsuite/gcc.target/i386/avx-pr57233.c trunk/gcc/testsuite/gcc.target/i386/avx2-pr57233.c trunk/gcc/testsuite/gcc.target/i386/avx512f-pr57233.c trunk/gcc/testsuite/gcc.target/i386/pr57233.c trunk/gcc/testsuite/gcc.target/i386/sse2-pr57233.c trunk/gcc/testsuite/gcc.target/i386/xop-pr57233.c Modified: trunk/gcc/ChangeLog trunk/gcc/expmed.c trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-generic.c
next prev parent reply other threads:[~2014-06-27 7:04 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-05-24 1:24 [Bug tree-optimization/61299] New: [4.9 " siarhei.siamashka at gmail dot com 2014-05-24 8:35 ` [Bug tree-optimization/61299] [4.9/4.10 " glisse at gcc dot gnu.org 2014-05-24 8:54 ` siarhei.siamashka at gmail dot com 2014-06-27 7:04 ` jakub at gcc dot gnu.org [this message] 2014-06-30 16:56 ` jakub at gcc dot gnu.org 2014-06-30 16:58 ` jakub 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=bug-61299-4-ZPVC8EcGjv@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).