aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@cavium.com>2014-10-20 11:39:49 -0700
committerAndrew Pinski <apinski@cavium.com>2014-10-21 10:51:01 -0700
commit55fbd9927b9b6f1f4881cf8585c35029ff4ee153 (patch)
tree6b7747adcc22a60565fb40d0a06e87e20f683a1c /gas
parent73242275062071346a7c377aca5e704679f25f82 (diff)
downloadgdb-55fbd9927b9b6f1f4881cf8585c35029ff4ee153.zip
gdb-55fbd9927b9b6f1f4881cf8585c35029ff4ee153.tar.gz
gdb-55fbd9927b9b6f1f4881cf8585c35029ff4ee153.tar.bz2
[AARCH64] Add thunderx support to gas
This patch adds -mcpu=thunderx support to gas. OK? Tested with no regressions. ChangeLog: * config/tc-aarch64.c (aarch64_cpus): Add thunderx. * doc/c-aarch64.texi: Document that thunderx is a valid processor name.
Diffstat (limited to 'gas')
-rw-r--r--gas/config/tc-aarch64.c1
-rw-r--r--gas/doc/c-aarch64.texi1
2 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 3198df8..7483f30 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -7203,6 +7203,7 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
{"all", AARCH64_ANY, NULL},
{"cortex-a53", AARCH64_ARCH_V8, "Cortex-A53"},
{"cortex-a57", AARCH64_ARCH_V8, "Cortex-A57"},
+ {"thunderx", AARCH64_ARCH_V8, "Cavium ThunderX"},
{"xgene-1", AARCH64_ARCH_V8, "APM X-Gene 1"},
{"generic", AARCH64_ARCH_V8, NULL},
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi
index 1f4ce4c..f3d4e41 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -57,6 +57,7 @@ message if an attempt is made to assemble an instruction which will not execute
on the target processor. The following processor names are recognized:
@code{cortex-a53},
@code{cortex-a57},
+@code{thunderx},
and
@code{xgene-1}.
The special name @code{all} may be used to allow the assembler to accept