Hello community, here is the log from the commit of package gcc46 for openSUSE:Factory checked in at Fri Jul 8 10:28:11 CEST 2011. -------- --- gcc46/cross-hppa-gcc-icecream-backend.changes 2011-06-07 13:39:31.000000000 +0200 +++ /mounts/work_src_done/STABLE/gcc46/cross-hppa-gcc-icecream-backend.changes 2011-07-06 11:56:04.000000000 +0200 @@ -1,0 +2,13 @@ +Wed Jul 6 09:55:09 UTC 2011 - rguenther@novell.com + +- Do not depend on non-existent libquadmath0 for ppc, ppc64, s390 + and s390x. + +------------------------------------------------------------------- +Fri Jul 1 07:19:03 UTC 2011 - rguenther@novell.com + +- Update to gcc-4_6-branch head (r175746). [fate#312149] + * Includes GCC 4.6.1 release. +- Backport -mvzeroupper fixes. + +------------------------------------------------------------------- cross-i386-gcc-icecream-backend.changes: same change cross-ia64-gcc-icecream-backend.changes: same change cross-ppc-gcc-icecream-backend.changes: same change cross-ppc64-gcc-icecream-backend.changes: same change cross-s390-gcc-icecream-backend.changes: same change cross-s390x-gcc-icecream-backend.changes: same change cross-x86_64-gcc-icecream-backend.changes: same change gcc46-testresults.changes: same change gcc46.changes: same change libffi46.changes: same change libgcj46.changes: same change calling whatdependson for head-i586 Old: ---- gcc-4.6.0-20110607.tar.bz2 New: ---- amd-ix86_reorg-run-move_or_dele.patch amd-save-the-initial-options-after-checking-vzeroupper.patch gcc-4.6.1-20110701.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cross-hppa-gcc-icecream-backend.spec ++++++ --- /var/tmp/diff_new_pack.uyLIpH/_old 2011-07-08 10:23:43.000000000 +0200 +++ /var/tmp/diff_new_pack.uyLIpH/_new 2011-07-08 10:23:43.000000000 +0200 @@ -46,7 +46,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 Url: http://gcc.gnu.org/ -Version: 4.6.0_20110607 +Version: 4.6.1_20110701 Release: 1 %define gcc_version %(echo %version | sed 's/_.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1-2) @@ -87,6 +87,9 @@ Patch61: gcc44-rename-info-files.patch # Patches for SAP features Patch130: sap303956-uchar.diff +# Patches for AMD features +Patch140: amd-save-the-initial-options-after-checking-vzeroupper.patch +Patch141: amd-ix86_reorg-run-move_or_dele.patch # GCC-TESTSUITE-DELETE-BEGIN # LIBFFI-DELETE-BEGIN @@ -174,6 +177,8 @@ %patch60 %patch61 %patch130 +%patch140 -p1 +%patch141 -p1 %build # Avoid rebuilding of generated files cross-i386-gcc-icecream-backend.spec: same change cross-ia64-gcc-icecream-backend.spec: same change cross-ppc-gcc-icecream-backend.spec: same change cross-ppc64-gcc-icecream-backend.spec: same change cross-s390-gcc-icecream-backend.spec: same change cross-s390x-gcc-icecream-backend.spec: same change cross-x86_64-gcc-icecream-backend.spec: same change ++++++ gcc46-testresults.spec ++++++ --- /var/tmp/diff_new_pack.uyLIpH/_old 2011-07-08 10:23:43.000000000 +0200 +++ /var/tmp/diff_new_pack.uyLIpH/_new 2011-07-08 10:23:43.000000000 +0200 @@ -155,7 +155,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 Url: http://gcc.gnu.org/ -Version: 4.6.0_20110607 +Version: 4.6.1_20110701 Release: 1 %define gcc_version %(echo %version | sed 's/_.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1-2) @@ -217,6 +217,9 @@ Patch61: gcc44-rename-info-files.patch # Patches for SAP features Patch130: sap303956-uchar.diff +# Patches for AMD features +Patch140: amd-save-the-initial-options-after-checking-vzeroupper.patch +Patch141: amd-ix86_reorg-run-move_or_dele.patch License: Public Domain, Freeware Summary: Testsuite results @@ -407,6 +410,8 @@ %patch60 %patch61 %patch130 +%patch140 -p1 +%patch141 -p1 %build # Avoid rebuilding of generated files ++++++ gcc46.spec ++++++ --- /var/tmp/diff_new_pack.uyLIpH/_old 2011-07-08 10:23:43.000000000 +0200 +++ /var/tmp/diff_new_pack.uyLIpH/_new 2011-07-08 10:23:43.000000000 +0200 @@ -135,7 +135,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 Url: http://gcc.gnu.org/ -Version: 4.6.0_20110607 +Version: 4.6.1_20110701 Release: 1 %define gcc_version %(echo %version | sed 's/_.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1-2) @@ -197,6 +197,9 @@ Patch61: gcc44-rename-info-files.patch # Patches for SAP features Patch130: sap303956-uchar.diff +# Patches for AMD features +Patch140: amd-save-the-initial-options-after-checking-vzeroupper.patch +Patch141: amd-ix86_reorg-run-move_or_dele.patch # GCC-TESTSUITE-DELETE-BEGIN # LIBFFI-DELETE-BEGIN @@ -857,6 +860,7 @@ Group: Development/Languages/Fortran AutoReqProv: on Requires: gcc46 = %{version}-%{release} +%ifnarch ppc ppc64 s390 s390x %if 0%{!?build_optional_compiler:1} Requires: libgfortran3 >= %{version}-%{release} Requires: libquadmath0 >= %{version}-%{release} @@ -864,6 +868,7 @@ Requires: libgfortran46 = %{version}-%{release} Requires: libquadmath46 = %{version}-%{release} %endif +%endif %description fortran This is the Fortran compiler of the GNU Compiler Collection (GCC). @@ -876,6 +881,7 @@ Group: Development/Languages/Fortran AutoReqProv: on Requires: gcc46 = %{version}-%{release} +%ifnarch ppc ppc64 s390 s390x %if 0%{!?build_optional_compiler:1} Requires: libgfortran3-32bit >= %{version}-%{release} Requires: libquadmath0-32bit >= %{version}-%{release} @@ -883,6 +889,7 @@ Requires: libgfortran46-32bit = %{version}-%{release} Requires: libquadmath46-32bit = %{version}-%{release} %endif +%endif %description fortran-32bit This is the Fortran compiler of the GNU Compiler Collection (GCC). @@ -895,6 +902,7 @@ Group: Development/Languages/Fortran AutoReqProv: on Requires: gcc46 = %{version}-%{release} +%ifnarch ppc ppc64 s390 s390x %if 0%{!?build_optional_compiler:1} Requires: libgfortran3-64bit >= %{version}-%{release} Requires: libquadmath0-64bit >= %{version}-%{release} @@ -902,6 +910,7 @@ Requires: libgfortran46-64bit = %{version}-%{release} Requires: libquadmath46-64bit = %{version}-%{release} %endif +%endif %description fortran-64bit This is the Fortran compiler of the GNU Compiler Collection (GCC). @@ -1519,6 +1528,8 @@ %patch60 %patch61 %patch130 +%patch140 -p1 +%patch141 -p1 %build # Avoid rebuilding of generated files ++++++ libffi46.spec ++++++ --- /var/tmp/diff_new_pack.uyLIpH/_old 2011-07-08 10:23:43.000000000 +0200 +++ /var/tmp/diff_new_pack.uyLIpH/_new 2011-07-08 10:23:43.000000000 +0200 @@ -154,7 +154,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 Url: http://gcc.gnu.org/ -Version: 4.6.0_20110607 +Version: 4.6.1_20110701 Release: 1 %define gcc_version %(echo %version | sed 's/_.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1-2) @@ -216,6 +216,9 @@ Patch61: gcc44-rename-info-files.patch # Patches for SAP features Patch130: sap303956-uchar.diff +# Patches for AMD features +Patch140: amd-save-the-initial-options-after-checking-vzeroupper.patch +Patch141: amd-ix86_reorg-run-move_or_dele.patch # GCC-TESTSUITE-DELETE-BEGIN # PACKAGE-BEGIN @@ -515,6 +518,8 @@ %patch60 %patch61 %patch130 +%patch140 -p1 +%patch141 -p1 %build # Avoid rebuilding of generated files ++++++ libgcj46.spec ++++++ --- /var/tmp/diff_new_pack.uyLIpH/_old 2011-07-08 10:23:43.000000000 +0200 +++ /var/tmp/diff_new_pack.uyLIpH/_new 2011-07-08 10:23:43.000000000 +0200 @@ -154,7 +154,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 Url: http://gcc.gnu.org/ -Version: 4.6.0_20110607 +Version: 4.6.1_20110701 Release: 1 %define gcc_version %(echo %version | sed 's/_.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1-2) @@ -216,6 +216,9 @@ Patch61: gcc44-rename-info-files.patch # Patches for SAP features Patch130: sap303956-uchar.diff +# Patches for AMD features +Patch140: amd-save-the-initial-options-after-checking-vzeroupper.patch +Patch141: amd-ix86_reorg-run-move_or_dele.patch # GCC-TESTSUITE-DELETE-BEGIN # LIBFFI-DELETE-BEGIN @@ -620,6 +623,8 @@ %patch60 %patch61 %patch130 +%patch140 -p1 +%patch141 -p1 %build # Avoid rebuilding of generated files ++++++ amd-ix86_reorg-run-move_or_dele.patch ++++++
From 343f07cbec2d66bebe71e4f48b0403f52ebfe8f9 Mon Sep 17 00:00:00 2001 From: uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Wed, 4 May 2011 17:07:03 +0000 Subject: [PATCH] * config/i386/i386.c (ix86_reorg): Run move_or_delete_vzeroupper first.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173383 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 16 ++++++++++------ gcc/config/i386/i386.c | 8 ++++---- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 79dd5da..786bc6d 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -30444,6 +30444,10 @@ ix86_reorg (void) with old MDEP_REORGS that are not CFG based. Recompute it now. */ compute_bb_for_insn (); + /* Run the vzeroupper optimization if needed. */ + if (TARGET_VZEROUPPER) + move_or_delete_vzeroupper (); + if (optimize && optimize_function_for_speed_p (cfun)) { if (TARGET_PAD_SHORT_FUNCTION) @@ -30455,10 +30459,6 @@ ix86_reorg (void) ix86_avoid_jump_mispredicts (); #endif } - - /* Run the vzeroupper optimization if needed. */ - if (TARGET_VZEROUPPER) - move_or_delete_vzeroupper (); } /* Return nonzero when QImode register that must be represented via REX prefix -- 1.6.0.2 ++++++ amd-save-the-initial-options-after-checking-vzeroupper.patch ++++++
From 0b70e1e33afa25536305f4a228409cf9b4e0eaad Mon Sep 17 00:00:00 2001 From: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Mon, 23 May 2011 16:51:42 +0000 Subject: [PATCH] Save the initial options after checking vzeroupper.
gcc/ 2011-05-23 H.J. Lu <hongjiu.lu@intel.com> PR target/47315 * config/i386/i386.c (ix86_option_override_internal): Save the initial options after checking vzeroupper. gcc/testsuite/ 2011-05-23 H.J. Lu <hongjiu.lu@intel.com> PR target/47315 * gcc.target/i386/pr47315.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174078 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/i386.c | 11 ++++++----- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/i386/pr47315.c | 10 ++++++++++ 4 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 gcc/testsuite/gcc.target/i386/pr47315.c diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 0709be8..854e376 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -4191,11 +4191,6 @@ ix86_option_override_internal (bool main_args_p) #endif } - /* Save the initial options in case the user does function specific options */ - if (main_args_p) - target_option_default_node = target_option_current_node - = build_target_option_node (); - if (TARGET_AVX) { /* When not optimize for size, enable vzeroupper optimization for @@ -4217,6 +4212,12 @@ ix86_option_override_internal (bool main_args_p) /* Disable vzeroupper pass if TARGET_AVX is disabled. */ target_flags &= ~MASK_VZEROUPPER; } + + /* Save the initial options in case the user does function specific + options. */ + if (main_args_p) + target_option_default_node = target_option_current_node + = build_target_option_node (); } /* Return TRUE if VAL is passed in register with 256bit AVX modes. */ diff --git a/gcc/testsuite/gcc.target/i386/pr47315.c b/gcc/testsuite/gcc.target/i386/pr47315.c new file mode 100644 index 0000000..871d3f1 --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/pr47315.c @@ -0,0 +1,10 @@ +/* { dg-do compile } */ +/* { dg-options "-O3 -mvzeroupper" } */ + +__attribute__ ((__target__ ("avx"))) +float bar (float f) {} + +void foo (float f) +{ + bar (f); +} -- 1.6.0.2 ++++++ gcc-4.6.0-20110607.tar.bz2 -> gcc-4.6.1-20110701.tar.bz2 ++++++ gcc46/gcc-4.6.0-20110607.tar.bz2 /mounts/work_src_done/STABLE/gcc46/gcc-4.6.1-20110701.tar.bz2 differ: char 11, line 1 ++++++ gcc.spec.in ++++++ --- /var/tmp/diff_new_pack.uyLIpH/_old 2011-07-08 10:23:43.000000000 +0200 +++ /var/tmp/diff_new_pack.uyLIpH/_new 2011-07-08 10:23:43.000000000 +0200 @@ -139,7 +139,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: http://gcc.gnu.org/ -Version: 4.6.0_20110607 +Version: 4.6.1_20110701 Release: 1 %define gcc_version %(echo %version | sed 's/_.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1-2) @@ -201,6 +201,9 @@ Patch61: gcc44-rename-info-files.patch # Patches for SAP features Patch130: sap303956-uchar.diff +# Patches for AMD features +Patch140: amd-save-the-initial-options-after-checking-vzeroupper.patch +Patch141: amd-ix86_reorg-run-move_or_dele.patch # GCC-TESTSUITE-DELETE-BEGIN # LIBFFI-DELETE-BEGIN @@ -510,6 +513,7 @@ Group: Development/Languages/Fortran Autoreqprov: on Requires: gcc@base_ver@ = %{version}-%{release} +%ifnarch ppc ppc64 s390 s390x %if 0%{!?build_optional_compiler:1} Requires: libgfortran3@variant@ >= %{version}-%{release} Requires: libquadmath0@variant@ >= %{version}-%{release} @@ -517,6 +521,7 @@ Requires: libgfortran@base_ver@@variant@ = %{version}-%{release} Requires: libquadmath@base_ver@@variant@ = %{version}-%{release} %endif +%endif %description fortran@variant@ This is the Fortran compiler of the GNU Compiler Collection (GCC). @@ -922,6 +927,8 @@ %patch60 %patch61 %patch130 +%patch140 -p1 +%patch141 -p1 %build # Avoid rebuilding of generated files ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org