From owner-freebsd-amd64@FreeBSD.ORG Mon May 27 19:51:04 2013 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E059B4CB for ; Mon, 27 May 2013 19:51:04 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from nm47-vm8.bullet.mail.bf1.yahoo.com (nm47-vm8.bullet.mail.bf1.yahoo.com [216.109.115.143]) by mx1.freebsd.org (Postfix) with ESMTP id 703738EE for ; Mon, 27 May 2013 19:51:04 +0000 (UTC) Received: from [98.139.212.153] by nm47.bullet.mail.bf1.yahoo.com with NNFMP; 27 May 2013 19:49:01 -0000 Received: from [98.139.211.193] by tm10.bullet.mail.bf1.yahoo.com with NNFMP; 27 May 2013 19:49:01 -0000 Received: from [127.0.0.1] by smtp202.mail.bf1.yahoo.com with NNFMP; 27 May 2013 19:49:01 -0000 X-Yahoo-Newman-Id: 721313.29520.bm@smtp202.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: m42velcVM1mVPQyBMFNm0gtioVKm57OqmpY5WsXGBkPn4Iv _zvx4VJ70cXoWxZ7A8d7eYRPIDRkmL9qPEGqw6X_8I8RhcopvBOmmUNjjDuV FNeELvm05cQmm3mriKwTlJflVS_JZa2eMIL0DGbUqCKNGdQWgSFyZRhuO4E5 6s0Kq1fx1PHoLyZqiIHnvC0zG2d4znxSXrMIrBenw7XOjEGe5uOJmFQ_GMg3 sLc35xmowiEBYeXW_ow5iDQcUGgf1fcT6fkcRP6aF9QCX_earQcsBE94.eCq V_3YqL0_d7s1vgU4O_l6S3ZMHZwXRjWuwYVWAZlteDX2NCNx9IO_GPPjCvyE yXWsfe2TeUwLJXJtJqyDMROyY_HAoNMxKjFT863gKHXB6P_qvyX1n8Lm4wXy TxLcWWnbJ6KjjEKB32PiVS0ujHJzfx86w2kk4YcTeFLnQok5J8IUn9kYve06 6mopq6EWQgHYrg7doyBMreEvOLQ-- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf X-Rocket-Received: from [192.168.0.102] (pfg@190.157.126.109 with ) by smtp202.mail.bf1.yahoo.com with SMTP; 27 May 2013 12:49:01 -0700 PDT Message-ID: <51A3B8AB.5080808@FreeBSD.org> Date: Mon, 27 May 2013 14:48:59 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130407 Thunderbird/17.0.5 MIME-Version: 1.0 To: Rui Paulo Subject: Re: [CFT] gcc: support for barcelona References: <51A38CBD.6000702@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 27 May 2013 22:54:51 +0000 Cc: amd64@FreeBSD.org, toolchain@FreeBSD.org X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 19:51:04 -0000 On 27.05.2013 14:12, Rui Paulo wrote: > On 27 May 2013, at 09:41, Pedro Giffuni wrote: > >> Hello; >> >> Almost a year ago I tried to bring in the support for AMD's barcelona >> chipset into our gcc. This actually filled a lot of holes in that were left >> when similar intel support was brought in. >> >> Unfortunately I had to revert rapidly such support as it broke building >> some C++ ports even when it was not being used. >> >> jkim@ did some cleanup of the support and the patch has been >> gathering rust here: >> >> http://people.freebsd.org/~jkim/reworked-r236962-3.diff >> >> The patch still applies cleanly and there is a good chance it will work >> since there have been other fixes merged since the last time. >> >> I did some basic testing and so far it works for me but I don't have >> the specific chipset. Additional testing would be welcome. > > I have to question the general direction of this work. We switched to Clang as the default compiler for i386/amd64 some months ago and now you're working on improving our base GCC especially for amd64? I don't really understand how useful this is. It doesn't strike me as a good idea to see people working on things that will eventually be replaced / removed. I have absolutely no intention to give gcc a second air: it's dead and I am anxious to see it axed from -current (soon?). This said, there are still many FreeBSD users trapped with the base gcc for at least as long as 9.x is alive. If you look at the ChangeLog.gcc43 in the above patch, you will notice I am just completing some code that was incompletely merged in previous revisions. The basic work was done almost a year ago, and I have no hurry to merge it but given that the effort was done already it would seem a pity to just throw it away. Of course I may be completely wrong here. Pedro.