[AARCH64] Add thunderx support to gas
authorAndrew Pinski <apinski@cavium.com>
Mon, 20 Oct 2014 18:39:49 +0000 (11:39 -0700)
committerAndrew Pinski <apinski@cavium.com>
Tue, 21 Oct 2014 17:51:01 +0000 (10:51 -0700)
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
gas/doc/c-aarch64.texi

index 3198df8fd6f917b34584041b8aed675d52055c7e..7483f30fc1a68d7cc717e65c55c9f3a9017a8c93 100644 (file)
@@ -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},
 
index 1f4ce4cc8542ac280c95a693b69fef2e1e2e7c63..f3d4e41a4ac1c1e74724eae1c6f36783203941f4 100644 (file)
@@ -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