[PATCH/AARCH64] Accept vulcan as a cpu name for the AArch64 port of GCC
authorVirendra Pathak <virendra.pathak@broadcom.com>
Tue, 21 Jun 2016 13:43:29 +0000 (13:43 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Tue, 21 Jun 2016 13:43:29 +0000 (13:43 +0000)
gcc/ChangeLog

* config/aarch64/aarch64-cores.def (vulcan): New core.
* config/aarch64/aarch64-tune.md: Regenerate.
* doc/invoke.texi: Document vulcan as an available option.

From-SVN: r237645

gcc/ChangeLog
gcc/config/aarch64/aarch64-cores.def
gcc/config/aarch64/aarch64-tune.md
gcc/doc/invoke.texi

index 954ca4be32125f4dbd5f9a62d6e3263569947a32..9069308256ec69062674a6125eaaf6b488bbbe20 100644 (file)
@@ -1,3 +1,9 @@
+2016-06-21  Virendra Pathak  <virendra.pathak@broadcom.com>
+
+       * config/aarch64/aarch64-cores.def (vulcan): New core.
+       * config/aarch64/aarch64-tune.md: Regenerate.
+       * doc/invoke.texi: Document vulcan as an available option.
+
 2016-06-21  Eric Botcazou  <ebotcazou@adacore.com>
 
        * cse.c (canon_asm_operands): New function extracted from...
index 251a3ebb9be82def8f257cbdcab440d7a51d478b..ced8f9436a5632811a0a2283ab700cb40fb1ec96 100644 (file)
@@ -49,6 +49,10 @@ AARCH64_CORE("qdf24xx",     qdf24xx,   cortexa57, 8A,  AARCH64_FL_FOR_ARCH8 | AA
 AARCH64_CORE("thunderx",    thunderx,  thunderx,  8A,  AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC | AARCH64_FL_CRYPTO, thunderx,  "0x43", "0x0a1")
 AARCH64_CORE("xgene1",      xgene1,    xgene1,    8A,  AARCH64_FL_FOR_ARCH8, xgene1, "0x50", "0x000")
 
+/* V8.1 Architecture Processors.  */
+
+AARCH64_CORE("vulcan",  vulcan, cortexa57, 8_1A,  AARCH64_FL_FOR_ARCH8_1 | AARCH64_FL_CRYPTO, cortexa57, "0x42", "0x516")
+
 /* V8 big.LITTLE implementations.  */
 
 AARCH64_CORE("cortex-a57.cortex-a53",  cortexa57cortexa53, cortexa53, 8A,  AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC, cortexa57, "0x41", "0xd07.0xd03")
index cbc6f4879edb2f3842a50dfafe206313d49e9cf8..8c4a0e9fde99bcd5b4caa6780f1058aba532bdd4 100644 (file)
@@ -1,5 +1,5 @@
 ;; -*- buffer-read-only: t -*-
 ;; Generated automatically by gentune.sh from aarch64-cores.def
 (define_attr "tune"
-       "cortexa35,cortexa53,cortexa57,cortexa72,exynosm1,qdf24xx,thunderx,xgene1,cortexa57cortexa53,cortexa72cortexa53"
+       "cortexa35,cortexa53,cortexa57,cortexa72,exynosm1,qdf24xx,thunderx,xgene1,vulcan,cortexa57cortexa53,cortexa72cortexa53"
        (const (symbol_ref "((enum attr_tune) aarch64_tune)")))
index e0002188e6ffdcc56af8886964a799fc08c22d99..4ff0ad5a675dfe55ed6224bfa83aab16aab75018 100644 (file)
@@ -13097,8 +13097,8 @@ Specify the name of the target processor for which GCC should tune the
 performance of the code.  Permissible values for this option are:
 @samp{generic}, @samp{cortex-a35}, @samp{cortex-a53}, @samp{cortex-a57},
 @samp{cortex-a72}, @samp{exynos-m1}, @samp{qdf24xx}, @samp{thunderx},
-@samp{xgene1}, @samp{cortex-a57.cortex-a53}, @samp{cortex-a72.cortex-a53},
-@samp{native}.
+@samp{xgene1}, @samp{vulcan}, @samp{cortex-a57.cortex-a53},
+@samp{cortex-a72.cortex-a53}, @samp{native}.
 
 The values @samp{cortex-a57.cortex-a53}, @samp{cortex-a72.cortex-a53}
 specify that GCC should tune for a big.LITTLE system.