diff mbox

[AARCH64] Add thunderx support to gas

Message ID 1413830578-5937-1-git-send-email-apinski@cavium.com
State New
Headers show

Commit Message

Andrew Pinski Oct. 20, 2014, 6:42 p.m. UTC
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(-)

Comments

Marcus Shawcroft Oct. 21, 2014, 9:27 a.m. UTC | #1
On 20 October 2014 19:42, Andrew Pinski <apinski@cavium.com> wrote:
> 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.

OK /Marcus
diff mbox

Patch

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