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.
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"