Add option for Qualcomm Saphira part
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 3 Nov 2017 14:03:03 +0000 (19:33 +0530)
committerSiddhesh Poyarekar <siddhesh@gotplt.org>
Fri, 3 Nov 2017 14:03:04 +0000 (19:33 +0530)
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.

gas/ChangeLog
gas/config/tc-aarch64.c
gas/doc/c-aarch64.texi

index ce1a97a783549b3d0628935ecbf883a261cbf139..b48302d2f7c11bd5cf899de81e5b8c54c2424ca9 100644 (file)
@@ -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
index 64d54fd78e15f68004bb969364dd4be30186bdbc..91330dd4881ed8c7e874107f9a18c38b72979306 100644 (file)
@@ -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"},
index e73d48cac245977e0f8fdcae5fa2ea2a426663d2..c6eeda8b522c59aaa64b39b7123b0f9c1ee51124 100644 (file)
@@ -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}