Date: Mon, 03 Dec 2012 20:10:24 -0500 From: Jung-uk Kim <jkim@FreeBSD.org> To: src-committers@freebsd.org Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r243846 - in head/share: examples/etc mk Message-ID: <50BD4D80.3060101@FreeBSD.org> In-Reply-To: <201212040037.qB40bH2g098300@svn.freebsd.org> References: <201212040037.qB40bH2g098300@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50BD4D80.3060101>