From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 89150 invoked by alias); 15 Jul 2015 09:05:50 -0000 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 Received: (qmail 89107 invoked by uid 48); 15 Jul 2015 09:05:46 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/66866] [miscompile] incorrect load address on manual vector shuffle Date: Wed, 15 Jul 2015 09:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-07/txt/msg01201.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66866 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC|uros at gcc dot gnu.org | Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail do= t com --- Comment #6 from Uro=C5=A1 Bizjak --- (In reply to Richard Biener from comment #5) > "Safe" fix: No, no... pextr to a temporary should be used here. I plan to introduce pextr handling to "insv" pattern. Then, ix86_expand_pinsr will call ix86_expand_pextr for non-lowpart src subregs (= and in a similar way, new ix86_expand_pextr will call ix86_expand_pinsr for non-lowpart dst subregs). >>From gcc-bugs-return-492312-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jul 15 09:07:16 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94489 invoked by alias); 15 Jul 2015 09:07:16 -0000 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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94461 invoked by uid 48); 15 Jul 2015 09:07:13 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/66866] [miscompile] incorrect load address on manual vector shuffle Date: Wed, 15 Jul 2015 09:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-07/txt/msg01202.txt.bz2 Content-length: 392 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66866 --- Comment #7 from Uro=C5=A1 Bizjak --- (In reply to Uro=C5=A1 Bizjak from comment #6) > (In reply to Richard Biener from comment #5) > > "Safe" fix: >=20 > No, no... pextr to a temporary should be used here. >=20 > I plan to introduce pextr handling to "insv" pattern. Then, ... "extzv" pattern. >>From gcc-bugs-return-492313-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jul 15 09:13:04 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104694 invoked by alias); 15 Jul 2015 09:13:04 -0000 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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 104649 invoked by uid 48); 15 Jul 2015 09:13:00 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/66872] fold a & ((1 << b) - 1) to a & ~(-1 << b) Date: Wed, 15 Jul 2015 09:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-07/txt/msg01203.txt.bz2 Content-length: 566 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66872 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #3 from Marek Polacek --- This ought to be easy to do in match.pd, but I'm not sure if this transformation is beneficial for other architectures as well (it doesn't seem to reduce the number of operations).