From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 78647 invoked by alias); 15 Jul 2015 22:23:45 -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 78599 invoked by uid 48); 15 Jul 2015 22:23:42 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/66866] [4.9/5 Regression] incorrect load address on manual vector shuffle Date: Wed, 15 Jul 2015 22:23: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: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone short_desc 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/msg01276.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66866 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.9.4 Summary|[miscompile] incorrect load |[4.9/5 Regression] |address on manual vector |incorrect load address on |shuffle |manual vector shuffle --- Comment #9 from Uro=C5=A1 Bizjak --- Fixed in mainline. The reduced testcase now compiles to: _Z4shufDv2_x: .LFB0: .cfi_startproc vpextrw $4, %xmm0, %eax vpxor %xmm0, %xmm0, %xmm0 vpinsrw $5, %eax, %xmm0, %xmm0 ret Patch needs backports to release branches. >>From gcc-bugs-return-492387-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jul 15 22:53:47 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13789 invoked by alias); 15 Jul 2015 22:53:46 -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 13535 invoked by uid 48); 15 Jul 2015 22:53:42 -0000 From: "andi-gcc at firstfloor dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/66890] function splitting only works with profile feedback Date: Wed, 15 Jul 2015 22:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: andi-gcc at firstfloor dot 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: 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/msg01277.txt.bz2 Content-length: 311 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66890 --- Comment #1 from Andi Kleen --- The problem seems to be that bb-reorder.c:find_rarely_executed_basic_blocks_and_crossing_edges returns no edges without profile feedback, which prevents generation of a section split note.