Allow corei7 for --with-arch=/--with-cpu=.
2010-12-02 H.J. Lu <hongjiu.lu@intel.com> * config.gcc: Allow corei7 for --with-arch=/--with-cpu=. From-SVN: r167397
This commit is contained in:
parent
5427046f04
commit
1dbb04c988
2 changed files with 19 additions and 7 deletions
|
@ -1,3 +1,7 @@
|
|||
2010-12-02 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config.gcc: Allow corei7 for --with-arch=/--with-cpu=.
|
||||
|
||||
2010-12-02 Ian Lance Taylor <iant@google.com>
|
||||
|
||||
* configure.ac: AC_DEFINE ENABLE_BUILD_WITH_CXX. Check for C++
|
||||
|
|
|
@ -1226,7 +1226,7 @@ i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i
|
|||
need_64bit_hwint=yes
|
||||
need_64bit_isa=yes
|
||||
case X"${with_cpu}" in
|
||||
Xgeneric|Xatom|Xcore2|Xnocona|Xx86-64|Xbdver1|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx|Xathlon64-sse3|Xk8-sse3|Xopteron-sse3)
|
||||
Xgeneric|Xatom|Xcore2|Xcorei7|Xnocona|Xx86-64|Xbdver1|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx|Xathlon64-sse3|Xk8-sse3|Xopteron-sse3)
|
||||
;;
|
||||
X)
|
||||
if test x$with_cpu_64 = x; then
|
||||
|
@ -1235,7 +1235,7 @@ i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i
|
|||
;;
|
||||
*)
|
||||
echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2
|
||||
echo "generic atom core2 nocona x86-64 bdver1 amdfam10 barcelona k8 opteron athlon64 athlon-fx athlon64-sse3 k8-sse3 opteron-sse3" 1>&2
|
||||
echo "generic atom core2 corei7 nocona x86-64 bdver1 amdfam10 barcelona k8 opteron athlon64 athlon-fx athlon64-sse3 k8-sse3 opteron-sse3" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
@ -1364,7 +1364,7 @@ i[34567]86-*-solaris2*)
|
|||
need_64bit_isa=yes
|
||||
use_gcc_stdint=wrap
|
||||
case X"${with_cpu}" in
|
||||
Xgeneric|Xatom|Xcore2|Xnocona|Xx86-64|Xbdver1|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx|Xathlon64-sse3|Xk8-sse3|Xopteron-sse3)
|
||||
Xgeneric|Xatom|Xcore2|Xcorei7|Xnocona|Xx86-64|Xbdver1|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx|Xathlon64-sse3|Xk8-sse3|Xopteron-sse3)
|
||||
;;
|
||||
X)
|
||||
if test x$with_cpu_64 = x; then
|
||||
|
@ -1373,7 +1373,7 @@ i[34567]86-*-solaris2*)
|
|||
;;
|
||||
*)
|
||||
echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2
|
||||
echo "generic atom core2 nocona x86-64 bdver1 amdfam10 barcelona k8 opteron athlon64 athlon-fx athlon64-sse3 k8-sse3 opteron-sse3" 1>&2
|
||||
echo "generic atom core2 corei7 nocona x86-64 bdver1 amdfam10 barcelona k8 opteron athlon64 athlon-fx athlon64-sse3 k8-sse3 opteron-sse3" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
@ -1444,7 +1444,7 @@ i[34567]86-*-mingw* | x86_64-*-mingw*)
|
|||
if test x$enable_targets = xall; then
|
||||
tm_defines="${tm_defines} TARGET_BI_ARCH=1"
|
||||
case X"${with_cpu}" in
|
||||
Xgeneric|Xatom|Xcore2|Xnocona|Xx86-64|Xbdver1|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx|Xathlon64-sse3|Xk8-sse3|Xopteron-sse3)
|
||||
Xgeneric|Xatom|Xcore2|Xcorei7|Xnocona|Xx86-64|Xbdver1|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx|Xathlon64-sse3|Xk8-sse3|Xopteron-sse3)
|
||||
;;
|
||||
X)
|
||||
if test x$with_cpu_64 = x; then
|
||||
|
@ -1453,7 +1453,7 @@ i[34567]86-*-mingw* | x86_64-*-mingw*)
|
|||
;;
|
||||
*)
|
||||
echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2
|
||||
echo "generic atom core2 nocona x86-64 bdver1 amdfam10 barcelona k8 opteron athlon64 athlon-fx athlon64-sse3 k8-sse3 opteron-sse3" 1>&2
|
||||
echo "generic atom core2 corei7 nocona x86-64 bdver1 amdfam10 barcelona k8 opteron athlon64 athlon-fx athlon64-sse3 k8-sse3 opteron-sse3" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
@ -2816,6 +2816,10 @@ case ${target} in
|
|||
arch=core2
|
||||
cpu=core2
|
||||
;;
|
||||
corei7-*)
|
||||
arch=corei7
|
||||
cpu=corei7
|
||||
;;
|
||||
pentium_m-*)
|
||||
arch=pentium-m
|
||||
cpu=pentium-m
|
||||
|
@ -2863,6 +2867,10 @@ case ${target} in
|
|||
arch=core2
|
||||
cpu=core2
|
||||
;;
|
||||
corei7-*)
|
||||
arch=corei7
|
||||
cpu=corei7
|
||||
;;
|
||||
*)
|
||||
arch=x86-64
|
||||
cpu=generic
|
||||
|
@ -3249,7 +3257,7 @@ case "${target}" in
|
|||
"" | x86-64 | generic | native \
|
||||
| k8 | k8-sse3 | athlon64 | athlon64-sse3 | opteron \
|
||||
| opteron-sse3 | athlon-fx | bdver1 | amdfam10 \
|
||||
| barcelona | nocona | core2 | atom)
|
||||
| barcelona | nocona | core2 | corei7 | atom)
|
||||
# OK
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Add table
Reference in a new issue