aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2017-11-03 19:33:03 +0530
committerSiddhesh Poyarekar <siddhesh@gotplt.org>2017-11-03 19:33:04 +0530
commit7605d944531519ddf9026bf059475a4347c83aa4 (patch)
treebe89e48e5804e3482c0ea2deb520e96c9c0841a1
parentbf59c5d5f4f5b8b4da1f5f605cfa546f8029b43d (diff)
downloadgdb-7605d944531519ddf9026bf059475a4347c83aa4.zip
gdb-7605d944531519ddf9026bf059475a4347c83aa4.tar.gz
gdb-7605d944531519ddf9026bf059475a4347c83aa4.tar.bz2
Add option for Qualcomm Saphira part
This adds an option for the Qualcomm saphira core, the corresponding gcc patch is here: https://gcc.gnu.org/ml/gcc-patches/2017-10/msg02055.html This was tested with an aarch64 build and make check and also by building and running SPEC2006. gas/ * config/tc-aarch64.c (aarch64_cpus): Add saphira. * doc/c-aarch64.texi: Likewise.
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-aarch64.c3
-rw-r--r--gas/doc/c-aarch64.texi1
3 files changed, 10 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index ce1a97a..b48302d 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2017-11-03 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
+ Jim Wilson <jim.wilson@linaro.org>
+
+ * config/tc-aarch64.c (aarch64_cpus): Add saphira.
+ * doc/c-aarch64.texi: Likewise.
+
2017-11-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
* testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-1.d: Add
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 64d54fd..91330dd 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -8420,6 +8420,9 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO
| AARCH64_FEATURE_RDMA),
"Qualcomm QDF24XX"},
+ {"saphira", AARCH64_FEATURE (AARCH64_ARCH_V8_3,
+ AARCH64_FEATURE_CRYPTO | AARCH64_FEATURE_PROFILE),
+ "Qualcomm Saphira"},
{"thunderx", AARCH64_FEATURE (AARCH64_ARCH_V8,
AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO),
"Cavium ThunderX"},
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi
index e73d48c..c6eeda8 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -65,6 +65,7 @@ on the target processor. The following processor names are recognized:
@code{exynos-m1},
@code{falkor},
@code{qdf24xx},
+@code{saphira},
@code{thunderx},
@code{vulcan},
@code{xgene1}