From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 35680 invoked by alias); 28 Apr 2015 16:29:26 -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 35649 invoked by uid 48); 28 Apr 2015 16:29:22 -0000 From: "jamrial at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65871] bzhi builtin/intrinsic wrongly assumes bzhi instruction doesn't set the ZF flag Date: Tue, 28 Apr 2015 16:29: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: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jamrial at gmail dot com X-Bugzilla-Status: NEW 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-04/txt/msg02431.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65871 --- Comment #4 from James Almer --- (In reply to Uro=C5=A1 Bizjak from comment #3) > Please see the patch, attached in Comment #2. >=20 > While I can see the use (and benefit) to model the patterns that also set= CC > register internally for BEXTR and BZHI instructions, I don't think other > listed instructions have clear usage scenarios to warrant additional > patterns. >=20 > Can you perhaps show the benefit to have more insns modelled this way? Not really, i simply assumed that taking into consideration what flags these instructions affected in every case was the intended behavior, so figured it was worth pointing them out. I'm mainly interested in bzhi (and by extension bextr). >>From gcc-bugs-return-484880-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 28 16:52:51 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128537 invoked by alias); 28 Apr 2015 16:52: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128460 invoked by uid 48); 28 Apr 2015 16:52:45 -0000 From: "cmtice at google dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/65910] r222473 breaks x86_64 darwin bootstrap Date: Tue, 28 Apr 2015 16:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cmtice at google dot com X-Bugzilla-Status: NEW 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-04/txt/msg02432.txt.bz2 Content-length: 196 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65910 --- Comment #4 from Caroline Tice --- Has anyone actually committed this fix? I'm not seeing it in my tree yet....