[gcc-6] 166/401: * Add AArch64 Vulcan cpu support (Dann Frazier). LP: #1594452. * gfortran: Suggest libcoarrays-dev. Closes: #827995.

Ximin Luo infinity0 at debian.org
Wed Apr 5 15:48:49 UTC 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch pu/reproducible_builds
in repository gcc-6.

commit 9620a5244f74bc315fa388a795274dd47338658e
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date:   Fri Jun 24 12:25:46 2016 +0000

      * Add AArch64 Vulcan cpu support (Dann Frazier). LP: #1594452.
      * gfortran: Suggest libcoarrays-dev. Closes: #827995.
    
    
    git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-6@8897 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
 debian/changelog                   |  6 +++++-
 debian/control                     |  4 +++-
 debian/control.m4                  |  4 +++-
 debian/patches/vulcan-cpu-doc.diff | 27 ++++++++++++++++++++++++++
 debian/patches/vulcan-cpu.diff     | 39 ++++++++++++++++++++++++++++++++++++++
 debian/rules.patch                 |  2 ++
 6 files changed, 79 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9b5cf4e..4e95a26 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,7 +3,11 @@ gcc-6 (6.1.1-8) UNRELEASED; urgency=medium
   [ Aurelien Jarno ]
   * Apply proposed patch from Matthew Fortune to fix libjava on mips64el.
 
- -- Matthias Klose <doko at debian.org>  Thu, 23 Jun 2016 13:20:40 +0200
+  [ Matthias Klose ]
+  * Add AArch64 Vulcan cpu support (Dann Frazier). LP: #1594452.
+  * gfortran: Suggest libcoarrays-dev. Closes: #827995.
+
+ -- Matthias Klose <doko at debian.org>  Fri, 24 Jun 2016 14:18:56 +0200
 
 gcc-6 (6.1.1-7) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index 5b96485..937bbfe 100644
--- a/debian/control
+++ b/debian/control
@@ -1500,7 +1500,9 @@ Architecture: any
 Priority: optional
 Depends: gcc-6-base (= ${gcc:Version}), gcc-6 (= ${gcc:Version}), libgfortran-6-dev (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
 Provides: fortran95-compiler, ${fortran:mod-version}
-Suggests: ${gfortran:multilib}, gfortran-6-doc, libgfortran3-dbg (>= ${gcc:Version})
+Suggests: ${gfortran:multilib}, gfortran-6-doc,
+ libgfortran3-dbg (>= ${gcc:Version}),
+ libcoarrays-dev
 Description: GNU Fortran compiler
  This is the GNU Fortran compiler, which compiles
  Fortran on platforms supported by the gcc compiler. It uses the
diff --git a/debian/control.m4 b/debian/control.m4
index 3010377..accf943 100644
--- a/debian/control.m4
+++ b/debian/control.m4
@@ -3556,7 +3556,9 @@ Architecture: any
 Priority: ifdef(`TARGET',`extra',`PRI(optional)')
 Depends: BASEDEP, gcc`'PV`'TS (= ${gcc:Version}), libidevdep(gfortran`'PV-dev,,=), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
 Provides: fortran95-compiler, ${fortran:mod-version}
-Suggests: ${gfortran:multilib}, gfortran`'PV-doc, libdbgdep(gfortran`'FORTRAN_SO-dbg,)
+Suggests: ${gfortran:multilib}, gfortran`'PV-doc,
+ libdbgdep(gfortran`'FORTRAN_SO-dbg,),
+ libcoarrays-dev
 BUILT_USING`'dnl
 Description: GNU Fortran compiler
  This is the GNU Fortran compiler, which compiles
diff --git a/debian/patches/vulcan-cpu-doc.diff b/debian/patches/vulcan-cpu-doc.diff
new file mode 100644
index 0000000..4656259
--- /dev/null
+++ b/debian/patches/vulcan-cpu-doc.diff
@@ -0,0 +1,27 @@
+# DP: Accept vulcan as a cpu name for the AArch64 port of GCC (documentation)
+
+From: jgreenhalgh <jgreenhalgh at 138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Tue, 21 Jun 2016 13:43:29 +0000 (+0000)
+Subject: [PATCH/AARCH64] Accept vulcan as a cpu name for the AArch64 port of GCC
+X-Git-Url: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff_plain;h=2c6ac78145ac8ff2fd83271d093e23ab80a15e4f
+
+[PATCH/AARCH64] Accept vulcan as a cpu name for the AArch64 port of GCC
+
+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.
+
+diff -urpN a/src/gcc/doc/invoke.texi b/src/gcc/doc/invoke.texi
+--- a/src/gcc/doc/invoke.texi	2016-06-21 10:31:29.994143994 -0600
++++ b/src/gcc/doc/invoke.texi	2016-06-21 10:35:51.136081208 -0600
+@@ -12988,7 +12988,7 @@ Specify the name of the target processor
+ 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},
+- at samp{xgene1}.
++ at samp{vulcan}, @samp{xgene1}.
+ 
+ Additionally, this option can specify that GCC should tune the performance
+ of the code for a big.LITTLE system.  Permissible values for this
diff --git a/debian/patches/vulcan-cpu.diff b/debian/patches/vulcan-cpu.diff
new file mode 100644
index 0000000..29edebe
--- /dev/null
+++ b/debian/patches/vulcan-cpu.diff
@@ -0,0 +1,39 @@
+# DP: Accept vulcan as a cpu name for the AArch64 port of GCC
+
+From: jgreenhalgh <jgreenhalgh at 138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Tue, 21 Jun 2016 13:43:29 +0000 (+0000)
+Subject: [PATCH/AARCH64] Accept vulcan as a cpu name for the AArch64 port of GCC
+X-Git-Url: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff_plain;h=2c6ac78145ac8ff2fd83271d093e23ab80a15e4f
+
+[PATCH/AARCH64] Accept vulcan as a cpu name for the AArch64 port of GCC
+
+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.
+
+diff -urpN a/src/gcc/config/aarch64/aarch64-cores.def b/src/gcc/config/aarch64/aarch64-cores.def
+--- a/src/gcc/config/aarch64/aarch64-cores.def	2016-01-04 07:30:50.000000000 -0700
++++ b/src/gcc/config/aarch64/aarch64-cores.def	2016-06-21 10:32:59.191974071 -0600
+@@ -49,6 +49,10 @@ AARCH64_CORE("qdf24xx",     qdf24xx,   c
+ 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")
+diff -urpN a/src/gcc/config/aarch64/aarch64-tune.md b/src/gcc/config/aarch64/aarch64-tune.md
+--- a/src/gcc/config/aarch64/aarch64-tune.md	2016-04-27 02:22:11.000000000 -0600
++++ b/src/gcc/config/aarch64/aarch64-tune.md	2016-06-21 10:32:59.191974071 -0600
+@@ -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)")))
diff --git a/debian/rules.patch b/debian/rules.patch
index 9737c10..aa02adb 100644
--- a/debian/rules.patch
+++ b/debian/rules.patch
@@ -30,6 +30,7 @@ ifneq ($(GFDL_INVARIANT_FREE),yes)
 	rename-info-files \
 	gcc-SOURCE_DATE_EPOCH-doc \
 	gcc-SOURCE_DATE_EPOCH-2-doc \
+	vulcan-cpu-doc \
 
 #	svn-doc-updates \
 #	$(if $(with_linaro_branch),,svn-doc-updates) \
@@ -86,6 +87,7 @@ debian_patches += \
 	gcc-SOURCE_DATE_EPOCH \
 	gcc-SOURCE_DATE_EPOCH-2 \
 	cmd-go-combine-gccgo-s-ld-and-ldShared-methods \
+	vulcan-cpu \
 
 # this is still needed on powerpc, e.g. firefox and insighttoolkit4 will ftbfs.
 ifneq (,$(filter $(DEB_TARGET_ARCH),powerpc))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/gcc-6.git



More information about the Reproducible-commits mailing list