mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-23 15:39:46 +08:00
Adding barcelona as a variant of amdfam10 architecture
From-SVN: r123313
This commit is contained in:
parent
71aea5f2e0
commit
aafc814c7b
@ -1,3 +1,9 @@
|
||||
2007-03-28 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
|
||||
|
||||
* config.gcc: Accept barcelona as a variant of amdfam10.
|
||||
* config/i386/i386.c (override_options): Likewise.
|
||||
* doc/invoke.texi: Likewise.
|
||||
|
||||
2007-03-28 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* tree-dfa.c (get_ref_base_and_extent): Do not expect positive
|
||||
|
@ -1129,14 +1129,14 @@ i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu)
|
||||
# FIXME: -m64 for i[34567]86-*-* should be allowed just
|
||||
# like -m32 for x86_64-*-*.
|
||||
case X"${with_cpu}" in
|
||||
Xgeneric|Xcore2|Xnocona|Xx86-64|Xamdfam10|Xk8|Xopteron|Xathlon64|Xathlon-fx)
|
||||
Xgeneric|Xcore2|Xnocona|Xx86-64|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx)
|
||||
;;
|
||||
X)
|
||||
with_cpu=generic
|
||||
;;
|
||||
*)
|
||||
echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2
|
||||
echo "generic core2 nocona x86-64 amdfam10 k8 opteron athlon64 athlon-fx" 1>&2
|
||||
echo "generic core2 nocona x86-64 amdfam10 barcelona k8 opteron athlon64 athlon-fx" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
@ -1258,14 +1258,14 @@ i[34567]86-*-solaris2*)
|
||||
# FIXME: -m64 for i[34567]86-*-* should be allowed just
|
||||
# like -m32 for x86_64-*-*.
|
||||
case X"${with_cpu}" in
|
||||
Xgeneric|Xcore2|Xnocona|Xx86-64|Xamdfam10|Xk8|Xopteron|Xathlon64|Xathlon-fx)
|
||||
Xgeneric|Xcore2|Xnocona|Xx86-64|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx)
|
||||
;;
|
||||
X)
|
||||
with_cpu=generic
|
||||
;;
|
||||
*)
|
||||
echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2
|
||||
echo "generic core2 nocona x86-64 amdfam10 k8 opteron athlon64 athlon-fx" 1>&2
|
||||
echo "generic core2 nocona x86-64 amdfam10 barcelona k8 opteron athlon64 athlon-fx" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
@ -2595,7 +2595,7 @@ if test x$with_cpu = x ; then
|
||||
;;
|
||||
i686-*-* | i786-*-*)
|
||||
case ${target_noncanonical} in
|
||||
amdfam10-*)
|
||||
amdfam10-*|barcelona-*)
|
||||
with_cpu=amdfam10
|
||||
;;
|
||||
k8-*|opteron-*|athlon_64-*)
|
||||
@ -2641,7 +2641,7 @@ if test x$with_cpu = x ; then
|
||||
;;
|
||||
x86_64-*-*)
|
||||
case ${target_noncanonical} in
|
||||
amdfam10-*)
|
||||
amdfam10-*|barcelona-*)
|
||||
with_cpu=amdfam10
|
||||
;;
|
||||
k8-*|opteron-*|athlon_64-*)
|
||||
@ -2923,7 +2923,7 @@ case "${target}" in
|
||||
esac
|
||||
# OK
|
||||
;;
|
||||
"" | amdfam10 | k8 | opteron | athlon64 | athlon-fx | nocona | core2 | generic)
|
||||
"" | amdfam10 | barcelona | k8 | opteron | athlon64 | athlon-fx | nocona | core2 | generic)
|
||||
# OK
|
||||
;;
|
||||
*)
|
||||
|
@ -1724,6 +1724,10 @@ override_options (void)
|
||||
| PTA_64BIT | PTA_3DNOW_A | PTA_SSE
|
||||
| PTA_SSE2 | PTA_SSE3 | PTA_POPCNT
|
||||
| PTA_ABM | PTA_SSE4A | PTA_CX16},
|
||||
{"barcelona", PROCESSOR_AMDFAM10, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW
|
||||
| PTA_64BIT | PTA_3DNOW_A | PTA_SSE
|
||||
| PTA_SSE2 | PTA_SSE3 | PTA_POPCNT
|
||||
| PTA_ABM | PTA_SSE4A | PTA_CX16},
|
||||
{"generic32", PROCESSOR_GENERIC32, 0 /* flags are only used for -march switch. */ },
|
||||
{"generic64", PROCESSOR_GENERIC64, PTA_64BIT /* flags are only used for -march switch. */ },
|
||||
};
|
||||
|
@ -9765,7 +9765,7 @@ instruction set support.
|
||||
@item k8, opteron, athlon64, athlon-fx
|
||||
AMD K8 core based CPUs with x86-64 instruction set support. (This supersets
|
||||
MMX, SSE, SSE2, 3dNOW!, enhanced 3dNOW! and 64-bit instruction set extensions.)
|
||||
@item amdfam10
|
||||
@item amdfam10, barcelona
|
||||
AMD Family 10 core based CPUs with x86-64 instruction set support. (This
|
||||
supersets MMX, SSE, SSE2, SSE3, SSE4A, 3dNOW!, enhanced 3dNOW!, ABM and 64-bit
|
||||
instruction set extensions.)
|
||||
|
Loading…
Reference in New Issue
Block a user