Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2012 10:51:40 -0500
From:      Pedro Giffuni <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r236962 - in head/contrib/gcc: . config/i386 doc
Message-ID:  <4FD7658C.4010604@FreeBSD.org>
In-Reply-To: <201206121504.q5CF4JYo060137@svn.freebsd.org>
References:  <201206121504.q5CF4JYo060137@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FD7658C.4010604>