From owner-freebsd-current@FreeBSD.ORG Wed Mar 9 21:13:53 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 43BA3106578A; Wed, 9 Mar 2011 21:13:53 +0000 (UTC) (envelope-from dave@dogwood.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id A36BE8FC1A; Wed, 9 Mar 2011 21:13:52 +0000 (UTC) Received: by wwc33 with SMTP id 33so1183165wwc.31 for ; Wed, 09 Mar 2011 13:13:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dogwood.com; s=google; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=h2OvJp9Mx15Zm+4yygMS3O7h8zLTps0SGDM8h1TbH7U=; b=GPstvBr3c3KdDeEaBVK3r1Hw2kNaOouYj8zocx0ptZlImo7KKxMEj+dO3XcwO4VlW2 UgicrSZWjzEYNNwLJfPVa5JPlB6D80EsCPh8sm1RGGQYhoBPlAt5GibTDQcNFK/bC5o7 lopZXlPpu/F19t8CdlIIDisd7DVQf0UEnRHl0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=dogwood.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=PDHVkSW9CjBgpT/jqOS+JeStPWxY9CIO3Lf2qvZv7P9OK0D1nKqqa4fGIbwD7/753G kfx8Pt2AgcFFIVhVnDUm6hmE3NNQyr9uF+cXHduA2vzY/qzXFQjahbBbtz1BiaFvHIgg embiU/qIfml+Ps9U9qvt4/BRy3yRM7HnAUVz8= MIME-Version: 1.0 Received: by 10.216.134.207 with SMTP id s57mr310800wei.25.1299703534316; Wed, 09 Mar 2011 12:45:34 -0800 (PST) Received: by 10.216.87.202 with HTTP; Wed, 9 Mar 2011 12:45:34 -0800 (PST) In-Reply-To: References: <4D7799FD.9040008@FreeBSD.org> Date: Wed, 9 Mar 2011 10:45:34 -1000 Message-ID: From: David Cornejo To: George Liaskos Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Martin Matuska , 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:13:53 -0000 On Wed, Mar 9, 2011 at 9:49 AM, George Liaskos 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) > > Just finished compiling world and kernel with the patch, no issues > whatsoever but i have some questions :) > > I have a Q6600, with -march=native gcc still uses nocona instead of > core2, clang does the right thing. Is this a bug? > Is it possible to support sse4.1 for penryn or is there a problem with > the license? > > Regards > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > I also had success with this patch - running on a Core 2 Duo E4500. rebuilt world & kernel both with and without CPUTYPE=core2, so it at least doesn't break anything. Can you recommend a way to test Core2 specific features? dave c