This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] [AARCH64] Add thunderx support to gas
- From: Andrew Pinski <apinski at cavium dot com>
- To: binutils at sourceware dot org, pinskia at gmail dot com
- Cc: Andrew Pinski <apinski at cavium dot com>
- Date: Mon, 20 Oct 2014 11:42:58 -0700
- Subject: [PATCH] [AARCH64] Add thunderx support to gas
- Authentication-results: sourceware.org; auth=none
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.
---
gas/config/tc-aarch64.c | 1 +
gas/doc/c-aarch64.texi | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 03fddd1..3805e01 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -7201,6 +7201,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
--
1.7.2.5