From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125091 invoked by alias); 4 May 2015 12:47:49 -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 125049 invoked by uid 48); 4 May 2015 12:47:45 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/66002] paq8p benchmark 50% slower than clang on sandybridge Date: Mon, 04 May 2015 12:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 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-05/txt/msg00217.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66002 --- Comment #1 from Richard Biener --- gprof tells me Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls s/call s/call name 67.13 25.40 25.40 2097192 0.00 0.00 contextModel2() 18.08 32.24 6.84 18874735 0.00 0.00 ContextMap::mix1(Mixer&, int, int, int, int) 9.46 35.82 3.58 2097192 0.00 0.00 Mixer::p() 2.72 36.85 1.03 14680344 0.00 0.00 APM1::p(int, int, int) 0.53 37.05 0.20 2097192 0.00 0.00 dmcModel(Mixer&) probably not too interesting (inlining). I wonder if you can run clang++ with vectorization disabled?