aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2014-11-18 11:24:14 +0000
committerMarcus Shawcroft <marcus.shawcroft@arm.com>2014-11-18 11:24:14 +0000
commit0a9ce86dafbd889ab3dfc8f61db364a2426be99b (patch)
tree86230612a07da6ce462ba211e948909d342b7fc8
parent070cb95614a9c50be0d1191d9b9daee178dd4c38 (diff)
downloadgdb-0a9ce86dafbd889ab3dfc8f61db364a2426be99b.zip
gdb-0a9ce86dafbd889ab3dfc8f61db364a2426be99b.tar.gz
gdb-0a9ce86dafbd889ab3dfc8f61db364a2426be99b.tar.bz2
[AArch64] Add xgene2.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-aarch64.c2
-rw-r--r--gas/doc/c-aarch64.texi3
3 files changed, 9 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 0c76e0d..fc95fbf 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2014-11-17 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
+ * config/tc-aarch64.c (aarch64_cpus): Add "xgene2".
+ * doc/c-aarch64.texi: Document it.
+
+2014-11-17 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
+
* config/tc-aarch64.c (aarch64_cpus): Add "xgene1".
* doc/c-aarch64.texi: Rename xgene-1 to xgene1.
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index fd0c201..7f22ba4 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -7192,6 +7192,8 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
tools. */
{"xgene-1", AARCH64_ARCH_V8, "APM X-Gene 1"},
{"xgene1", AARCH64_ARCH_V8, "APM X-Gene 1"},
+ {"xgene2", AARCH64_FEATURE(AARCH64_ARCH_V8,
+ AARCH64_FEATURE_CRC), "APM X-Gene 2"},
{"generic", AARCH64_ARCH_V8, NULL},
{NULL, AARCH64_ARCH_NONE, NULL}
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi
index 8e22b21..4b5c813 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -58,8 +58,9 @@ on the target processor. The following processor names are recognized:
@code{cortex-a53},
@code{cortex-a57},
@code{thunderx},
+@code{xgene1}
and
-@code{xgene1}.
+@code{xgene2}.
The special name @code{all} may be used to allow the assembler to accept
instructions valid for any supported processor, including all optional
extensions.