From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30105 invoked by alias); 29 Jul 2013 18:48:10 -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 30023 invoked by uid 48); 29 Jul 2013 18:48:07 -0000 From: "dushistov at mail dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/57954] AVX missing vxorps (zeroing) before vcvtsi2s %edx, slow down AVX code Date: Mon, 29 Jul 2013 18:48: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.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dushistov at mail dot ru X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 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: 2013-07/txt/msg01426.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57954 --- Comment #11 from Evgeniy Dushistov --- (In reply to Yuri Rumyantsev from comment #9) > I checked that zeroing of xmm register before conversion leads to > performance slowdown on SLM (-5%) for proveded test-case. I assume that >=20 > with H.J patch we got the following assembly (I compiled it for slm but it > does not matter): >=20 > .L3: > xorps %xmm0, %xmm0 > cvtsi2ss %eax, %xmm0 > movss %xmm0, (%ecx,%eax,4) > addl $1, %eax > cmpl %edx, %eax > jne .L3 >=20 By the way, I tried compile my sample (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57988) for atom, icc(13.1.3 20130607) produce: xorps %xmm2,%xmm2 cvtsi2sd %rax,%xmm2 may be 5% measuring error? >>From gcc-bugs-return-426920-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 29 19:08:55 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31231 invoked by alias); 29 Jul 2013 19:08:54 -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 30853 invoked by uid 48); 29 Jul 2013 19:08:50 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/57800] Wasted work in gfc_match_call() Date: Mon, 29 Jul 2013 19:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: RESOLVED 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: bug_status cc resolution 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-07/txt/msg01427.txt.bz2 Content-length: 507 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57800 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |law at redhat dot com Resolution|--- |FIXED --- Comment #3 from Jeffrey A. Law --- Patch installed on trunk.