Clean up and update comments for CPUTYPE.

Requested by:	rdivacky
This commit is contained in:
Jung-uk Kim 2012-11-19 23:04:22 +00:00
parent 8f37d24bed
commit a9259c1e1f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=243315

View File

@ -25,22 +25,27 @@
# The CPUTYPE variable controls which processor should be targeted for
# generated code. This controls processor-specific optimizations in
# certain code (currently only OpenSSL) as well as modifying the value
# of CFLAGS to contain the appropriate optimization directive to gcc.
# of CFLAGS to contain the appropriate optimization directive to cc.
# The automatic setting of CFLAGS may be overridden using the
# NO_CPU_CFLAGS variable below.
# Currently the following CPU types are recognized:
# Currently the following CPU types are recognized by gcc:
# Intel x86 architecture:
# (AMD CPUs) opteron-sse3 opteron athlon64-sse3 athlon64 athlon-mp
# athlon-xp athlon-4 athlon-tbird athlon k8-sse3 k8
# geode k6-3 k6-2 k6 k5
# (Intel CPUs) core2 core nocona pentium4m pentium4 prescott
# pentium3m pentium3 pentium-m pentium2
# pentiumpro pentium-mmx pentium i486 i386
# (Via CPUs) c3 c3-2
# AMD64 architecture: opteron, athlon64, nocona, prescott, core2
# Intel ia64 architecture: itanium2, itanium
# (AMD CPUs) opteron-sse3, athlon64-sse3, k8-sse3, opteron,
# athlon64, k8, athlon-mp, athlon-xp, athlon-4,
# athlon-tbird, athlon, k7, geode, k6-3, k6-2, k6, k5
# (Intel CPUs) core2, core, nocona, pentium4m, pentium4, prescott,
# pentium3m, pentium3, pentium-m, pentium2,
# pentiumpro, pentium-mmx, pentium, i486, i386
# (VIA CPUs) c7, c3-2, c3
# AMD64 architecture: opteron-sse3, athlon64-sse3, k8-sse3, opteron,
# athlon64, k8, core2, nocona, prescott
# Intel ia64 architecture: itanium2, itanium
# SPARC-V9 architecture: v9 (generic 64-bit V9), ultrasparc (default
# if omitted), ultrasparc3
# Additionally the following CPU types are recognized by clang:
# Intel x86 architecture (for both amd64 and i386):
# (AMD CPUs) bdver2, bdver1, btver1, amdfam10
# (Intel CPUs) core-avx-i, corei7-avx, corei7
#
# (?= allows to buildworld for a different CPUTYPE.)
#