From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5789 invoked by alias); 18 Oct 2013 11:47:53 -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 5748 invoked by uid 48); 18 Oct 2013 11:47:50 -0000 From: "sthalik at misaki dot pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug objc++/58783] fails to cross-compile Qt 5:dev in obj-c++ Date: Fri, 18 Oct 2013 11:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: objc++ X-Bugzilla-Version: 4.8.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sthalik at misaki dot pl X-Bugzilla-Status: UNCONFIRMED 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: attachments.created 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: 2013-10/txt/msg01267.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58783 --- Comment #3 from Stanis=C5=82aw Halik --- Created attachment 31036 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=3D31036&action=3Dedit preprocessed source >>From gcc-bugs-return-432122-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 18 11:47:15 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4966 invoked by alias); 18 Oct 2013 11:47:15 -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 4900 invoked by uid 55); 18 Oct 2013 11:47:12 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/56309] conditional moves instead of compare and branch result in almost 2x slower code Date: Fri, 18 Oct 2013 11:47: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: 4.7.2 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: NEW 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: 2013-10/txt/msg01266.txt.bz2 Content-length: 773 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 --- Comment #31 from rguenther at suse dot de --- On Fri, 18 Oct 2013, ubizjak at gmail dot com wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 > > --- Comment #30 from Uro? Bizjak --- > (In reply to Jakub Jelinek from comment #29) > > > On the by-ref-O3.ii testcase there is no change, but by-val-O3.ii seems to > > be consistently faster, around 20% on AMD 8354 and 35% on Intel 2600. > > According to detailed analysis in Comment 26, perhaps a new tuning flag or > target hook could be used for if-conversion of scalars. Also, I think that -Os > can still use cmoves due to smaller code size. But RTL if-conversion still will generate cmov, right?