Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
aafc814c
Commit
aafc814c
authored
Mar 28, 2007
by
Dwarakanath Rajagopal
Committed by
Dwarakanath Rajagopal
Mar 28, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding barcelona as a variant of amdfam10 architecture
From-SVN: r123313
parent
71aea5f2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
8 deletions
+18
-8
gcc/ChangeLog
+6
-0
gcc/config.gcc
+7
-7
gcc/config/i386/i386.c
+4
-0
gcc/doc/invoke.texi
+1
-1
No files found.
gcc/ChangeLog
View file @
aafc814c
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
...
...
gcc/config.gcc
View file @
aafc814c
...
...
@@ -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|X
barcelona|X
k8|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|X
barcelona|X
k8|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
;;
*)
...
...
gcc/config/i386/i386.c
View file @
aafc814c
...
...
@@ -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. */
},
};
...
...
gcc/doc/invoke.texi
View file @
aafc814c
...
...
@@ -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
,
3
dNOW
!, 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
,
3
dNOW
!, enhanced 3dNOW!, ABM and 64-bit
instruction
set
extensions
.)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment