From owner-svn-src-head@FreeBSD.ORG Tue Jun 12 15:51:49 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 532211065679 for ; Tue, 12 Jun 2012 15:51:49 +0000 (UTC) (envelope-from pfg@freebsd.org) Received: from nm12-vm0.bullet.mail.bf1.yahoo.com (nm12-vm0.bullet.mail.bf1.yahoo.com [98.139.213.140]) by mx1.freebsd.org (Postfix) with SMTP id F05BA8FC18 for ; Tue, 12 Jun 2012 15:51:48 +0000 (UTC) Received: from [98.139.212.150] by nm12.bullet.mail.bf1.yahoo.com with NNFMP; 12 Jun 2012 15:51:42 -0000 Received: from [98.139.213.1] by tm7.bullet.mail.bf1.yahoo.com with NNFMP; 12 Jun 2012 15:51:42 -0000 Received: from [127.0.0.1] by smtp101.mail.bf1.yahoo.com with NNFMP; 12 Jun 2012 15:51:42 -0000 X-Yahoo-Newman-Id: 348778.2599.bm@smtp101.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: g8EUHxAVM1lGj0llGl1U1Zzu50xr6KyjlxLAdxtN0Nv4LdW BZ8J5UV94d65UHAVptEUWpQwQzgNnLKtR8YHNwHgoTUUCw1bFKJw40CnYh_A raYlmqyNFZa8utDlcQE9bm_1T2ETsWN9j4dobdxooH3JJ1jlYkUFKHn0yejU Eqzr9bKmfmmNw8l9Ks9u9F8Ar7QdNh8hErAML3ps8uMHMXbdyhG1JwpUAp14 XogYpbiAgBBf7sHeBuIGEjxXF2bMNGxAsTedBE7gbl8LGIxfTnPN0hTcIxcM 7whOVou.uZ7Mdp3.dOz5.YlyqHox2g7wEReHlvZS0SlKoaUsVDyDzEit_d9V QFXRHzEKYtYvX70fyx8QT9nttnL0Tifyien.QufgQsA8H8qVx80mADq_u9ML 92ApHtL7DChaXI19iVgeRNS4a8DMmsuc7M57Tqq7BzZb.Pwy2NJnh2QQ2VV7 UBHsZTBUjxZUVrdVroRxvDMzLkCe5CL2X2h2onnUsB_1t5YDhKpyailnPIce 95sAWaPvNPr..8p4nYhKlrx3SJwK_55XLfuPjtWf3nTxRAjletx2rExk6yA- - X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Received: from [192.168.10.102] (pfg@200.118.157.7 with plain) by smtp101.mail.bf1.yahoo.com with SMTP; 12 Jun 2012 15:51:42 +0000 UTC Message-ID: <4FD7658C.4010604@FreeBSD.org> Date: Tue, 12 Jun 2012 10:51:40 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120506 Thunderbird/12.0.1 MIME-Version: 1.0 To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201206121504.q5CF4JYo060137@svn.freebsd.org> In-Reply-To: <201206121504.q5CF4JYo060137@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: svn commit: r236962 - in head/contrib/gcc: . config/i386 doc X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2012 15:51:49 -0000 On 06/12/12 10:04, Pedro F. Giffuni wrote: > Author: pfg > Date: Tue Jun 12 15:04:18 2012 > New Revision: 236962 > URL: http://svn.freebsd.org/changeset/base/236962 > > Log: > Add experimental support for amdfam10/barcelona from the GCC 4.3 branch. > > Initial support for the AMD barcelona chipsets has been available in the > gcc43 branch under GPLv2 but was not included when the Core 2 support > was brought to the system gcc. > > AMD and some linux distributions (OpenSUSE) did a backport of the amdfam10 > support and made them available. Unfortunately this is still experimental > and while it can improve performance, enabling the CPUTYPE may break some > C++ ports (like clang). > > Special care was taken to make sure that the patches predate the GPLv3 > switch upstream. > > Tested by: Vladimir Kushnir > Reviewed by: mm > Approved by: jhb (mentor) > MFC after: 2 weeks > > As a side note, I didn't add the CPUTYPE to bsd.cpu.mk because it may break buildworld in clang, so normally most of this optimizations are not available. The patch does include some minor fixes for optimizations that GCC developers didn't consider regressions so were never back ported. This was, of course, tested by building world on amd64 (not amdfam10) and shouldn't cause any trouble. I think this ends the series of GPLv2 patches we could bring in. Pedro.