svn commit: r243846 - in head/share: examples/etc mk

Jung-uk Kim jkim at FreeBSD.org
Tue Dec 4 01:11:24 UTC 2012


-----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-----


More information about the svn-src-head mailing list