From owner-svn-src-head@FreeBSD.ORG Tue Dec 4 01:11:24 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD16E6A1; Tue, 4 Dec 2012 01:11:24 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from hammer.pct.niksun.com (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 63E718FC0C; Tue, 4 Dec 2012 01:11:24 +0000 (UTC) Message-ID: <50BD4D80.3060101@FreeBSD.org> Date: Mon, 03 Dec 2012 20:10:24 -0500 From: Jung-uk Kim User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: src-committers@freebsd.org Subject: Re: svn commit: r243846 - in head/share: examples/etc mk References: <201212040037.qB40bH2g098300@svn.freebsd.org> In-Reply-To: <201212040037.qB40bH2g098300@svn.freebsd.org> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 01:11:24 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-12-03 19:37:17 -0500, Jung-uk Kim wrote: > Author: jkim Date: Tue Dec 4 00:37:17 2012 New Revision: 243846 > URL: http://svnweb.freebsd.org/changeset/base/243846 > > Log: Tidy up bsd.cpu.mk for X86 CPUs: > > - Do not limit recent processors to "prescott" class for i386 > target. There is no reason for this hack because clang is default > now. On top of that, it will only grow indefinitely over time. - > Add more CPUTYPEs, i.e., "athlon-fx", "core-avx2", "atom", > "penryn", and "yonah". Note "penryn" and "yonah" are intentionally > undocumented because they are not supported by gcc and marked > deprecated by clang. - Add more CPUTYPE aliases, i.e., "barcelona" > (-> amdfam10), "westmere" and "nehalem" (-> corei7). Note these > are intentionally undocumented because they are not supported by > (base) gcc and/or clang. However, LLVM (backend) seems to "know" > the differences. Most likely, they were deprecated with other > vendor code names and clang did not bother implementing them at > all. - Add i686 to MACHINE_CPU for "c3-2" (VIA Nehemiah). Both gcc > & clang treat it like an i686-class processor. [ Snipped the rest... ] Please note "c3" is treated like an i486-class processor by the compilers. However, I didn't remove i586 because it wasn't really clear to me. It seems most people just used -march=i586 for the processors (before GCC added - -march=c3). For example: http://radagast.ca/epia/epia_howto/index.html#VIA_EPIA_CPUs The original VIA C3 (aka Cyrix III) was considered i486-class, maybe? I think I still have one of these in the basement collecting dust but its mobo died long ago. :-( Jung-uk Kim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJQvU2AAAoJECXpabHZMqHOntMH/RdhI7uCntALF/p9gRJl7uDh xffyaDsMML3CR86yjD+KZKa8MGRN7yW62AIMkXRf67iUhRQ2P2fF6p2FBrrGWZ8a br6ePOylBG+abNvSkWYLaq6BgoEqPOsdmdTkwUK8b2uuukGIxXajdpmjXkQikSJh 3BkVb4NK+AnCGukOeLez06X1XQsXd7N/XvKHYyZV8kNXQo1Uk/91wYewdcSBLjWF VOEW9ub42RYuPj8t+xWfKjv3/+rjYw+Gyvat5m9nvU4wkbvRB7oB48ZGDkFPQrH8 j++h4wjnEjzXY1EHg+3Ph1hlyZEiCdcCjFNGqB+QKzSsEVTAlsbSY4c5tW6xYzM= =jedj -----END PGP SIGNATURE-----