From owner-freebsd-arch@FreeBSD.ORG Sun Jan 13 05:37:27 2013 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2611634E; Sun, 13 Jan 2013 05:37:27 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) by mx1.freebsd.org (Postfix) with ESMTP id D885B815; Sun, 13 Jan 2013 05:37:26 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id r0D5bPck086573 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 12 Jan 2013 21:37:25 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id r0D5bPnB086572; Sat, 12 Jan 2013 21:37:25 -0800 (PST) (envelope-from jmg) Date: Sat, 12 Jan 2013 21:37:25 -0800 From: John-Mark Gurney To: Adrian Chadd Subject: Re: how long to keep support for gcc on x86? Message-ID: <20130113053725.GL1410@funkthat.com> Mail-Followup-To: Adrian Chadd , Steve Kargl , freebsd-arch@freebsd.org References: <20130112233147.GK1410@funkthat.com> <20130113014242.GA61609@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Sat, 12 Jan 2013 21:37:26 -0800 (PST) Cc: Steve Kargl , freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jan 2013 05:37:27 -0000 Adrian Chadd wrote this message on Sat, Jan 12, 2013 at 19:30 -0800: > IMHO gcc shuld be available until all of the platforms that we > currently ship FreeBSD on gets clang support. Though, we have a very ancient version of gcc, a modern version would support the AES-NI intrinsicts that I am thinking of using... It's more of a question of how long do we need to keep support for gcc 4.2.1, not another modern gcc/other compiler... > This includes MIPS (which is there, but I don't think the default MIPS > build uses clang at the moment) and ia64, which Marcel has been > dutifully working on. > > Please also note that people can and will compile FreeBSD on a > non-default-system compiler ; so deprecating gcc (either support or > framework) should be considered carefully. Considering that the icc stuff was recently removed, unless the compiler has good gcc/clang emulation, I can't see how far another compiler would get compiling our code... > On 12 January 2013 17:42, Steve Kargl wrote: > > On Sat, Jan 12, 2013 at 03:31:47PM -0800, John-Mark Gurney wrote: > >> So, now that -current x86 is defaulting to clang, how much longer do we > >> need to support gcc on platforms that default to clang? > > > > IMHO, gcc should be available until after 10.0 is branched. > > > >> I'm asking because clang support AES-NI, but gcc does not... > > > > The last and only time I had for testing clang's handling > > of floating point revealed that clang had a few bugs and > > performance issues. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."