aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-06-08 17:58:26 +0100
committerSam James <sam@gentoo.org>2024-06-08 17:58:58 +0100
commit87f98154a853bf66074d33365aa8b85900f2e857 (patch)
treed0a6bd09b4f52434e106ae281654a6db43654e56
parent14.1.0: add 76_all_ppc_PR97367-power7-cell-altivec.patch (diff)
downloadgcc-patches-87f98154a853bf66074d33365aa8b85900f2e857.tar.gz
gcc-patches-87f98154a853bf66074d33365aa8b85900f2e857.tar.bz2
gcc-patches-87f98154a853bf66074d33365aa8b85900f2e857.zip
13.2.0: add 93_all_ppc_PR97367-power7-cell-altivec.patch
Requested by ernsteiswuerfel. Bug: https://gcc.gnu.org/PR97367 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--13.2.0/gentoo/93_all_ppc_PR97367-power7-cell-altivec.patch13
-rw-r--r--13.2.0/gentoo/README.history4
2 files changed, 17 insertions, 0 deletions
diff --git a/13.2.0/gentoo/93_all_ppc_PR97367-power7-cell-altivec.patch b/13.2.0/gentoo/93_all_ppc_PR97367-power7-cell-altivec.patch
new file mode 100644
index 0000000..154dd0f
--- /dev/null
+++ b/13.2.0/gentoo/93_all_ppc_PR97367-power7-cell-altivec.patch
@@ -0,0 +1,13 @@
+https://gcc.gnu.org/PR97367
+https://inbox.sourceware.org/gcc-patches/20240308.123342.1112119677226246836.rene@exactcode.de/
+--- a/gcc/config/rs6000/rs6000.cc
++++ b/gcc/config/rs6000/rs6000.cc
+@@ -5869,7 +5869,7 @@ rs6000_machine_from_flags (void)
+ HOST_WIDE_INT flags = rs6000_isa_flags;
+
+ /* Disable the flags that should never influence the .machine selection. */
+- flags &= ~(OPTION_MASK_PPC_GFXOPT | OPTION_MASK_PPC_GPOPT | OPTION_MASK_ISEL);
++ flags &= ~(OPTION_MASK_PPC_GFXOPT | OPTION_MASK_PPC_GPOPT | OPTION_MASK_ALTIVEC | OPTION_MASK_ISEL);
+
+ if ((flags & (ISA_3_1_MASKS_SERVER & ~ISA_3_0_MASKS_SERVER)) != 0)
+ return "power10";
diff --git a/13.2.0/gentoo/README.history b/13.2.0/gentoo/README.history
index 9d31fc5..86a0fb1 100644
--- a/13.2.0/gentoo/README.history
+++ b/13.2.0/gentoo/README.history
@@ -1,3 +1,7 @@
+17 8 June 2024
+
+ + 93_all_ppc_PR97367-power7-cell-altivec.patch
+
16 10 May 2024
- 84_all_x86_PR110792-Early-clobber-issues-with-rot32di2.patch