From owner-freebsd-current@FreeBSD.ORG Wed Mar 9 21:34:47 2011 Return-Path: Delivered-To: current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F3F11065676; Wed, 9 Mar 2011 21:34:47 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (ZIM.MIT.EDU [18.95.3.101]) by mx1.freebsd.org (Postfix) with ESMTP id 556AE8FC1E; Wed, 9 Mar 2011 21:34:47 +0000 (UTC) Received: from zim.MIT.EDU (localhost [127.0.0.1]) by zim.MIT.EDU (8.14.4/8.14.2) with ESMTP id p29LIKZd046578; Wed, 9 Mar 2011 16:18:20 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.4/8.14.2/Submit) id p29LIKBT046577; Wed, 9 Mar 2011 16:18:20 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Wed, 9 Mar 2011 16:18:20 -0500 From: David Schultz To: Martin Matuska Message-ID: <20110309211820.GA46520@zim.MIT.EDU> Mail-Followup-To: Martin Matuska , current@freebsd.org, gerald@freebsd.org References: <4D7799FD.9040008@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D7799FD.9040008@FreeBSD.org> Cc: gerald@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: [TESTING] ssse3 backport from gcc 4.3 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2011 21:34:47 -0000 On Wed, Mar 09, 2011, Martin Matuska wrote: > I have prepared a patch that finishes the "core2" support part and > backports from gcc-4.3 > the SSSE3 instruction set (-mssse3, -mno-ssse3). > It is enabled for -march=core2 by default. > > Testing and comments are welcome. > > Patch: > http://people.freebsd.org/~mm/patches/head-gcc-ssse3.patch > > The backport covers three GPLv2 revisions from gcc 4.3: > http://gcc.gnu.org/viewcvs?view=revision&revision=117958 (applies cleanly) > http://gcc.gnu.org/viewcvs?view=revision&revision=121687 (small adjustment) > http://gcc.gnu.org/viewcvs?view=revision&revision=121726 (small adjustment) > http://gcc.gnu.org/viewcvs?view=revision&revision=123639 (small adjustment) Cool. Ccing gerald@, who has requested that he be kept in the loop on gcc changes in the tree. The proliferation of -mno-sse -mno-sse2 -mno-sse3 options in the makefiles is probably not needed: I'm pretty sure -mno-sse implies the other two, unless -msse3 is specified explicitly. One suggestion from prior experience merging upstream gcc changes: Peruse the bug database for anything significant that was reported or fixed after the above patches were merged.