From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31669 invoked by alias); 25 Apr 2013 19:07: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 Received: (qmail 31632 invoked by uid 48); 25 Apr 2013 19:07:49 -0000 From: "linuxball at netscape dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/45359] poor -march=native choices for VIA C7 Esther processors Date: Thu, 25 Apr 2013 19:07: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-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: linuxball at netscape dot net X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-04/txt/msg02119.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45359 linuxball at netscape dot net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |linuxball at netscape dot | |net --- Comment #6 from linuxball at netscape dot net 2013-04-25 19:07:45 UTC --- I reconfirm this bug using gcc 4.6.3-1ubuntu5 in Ubuntu 12.04 to compile stuff optimized for VIA C7-D Esther processor. Still the same issue: Using -march=native 1) still chooses -march=pentium-m -mtune=generic (ignoring the sse3 capability) 2) will not detect the L1 and L2 cache parameters IMHO, the centaur2.patch suggested by Dzianis Kahanovich is a good fix. Why hasn't it found its way into the official gcc? Best regards and thanks to Dzianis for his contribution linuxball