eigen3/0001-Do-stack-allignment-on-ppc.patch
Dirk Stoecker 534ab5c97e Accepting request 913225 from home:badshah400:branches:science
* Update to version 3.4.0
* Drop patches incorporated or otherwise fixed upstream: * eigen3-CastXML-support-for-aarch64.patch.  * eigen3-make-sparseqr-unit-test-stable.patch.  * eigen3-failtests-handling.patch.
* Rebase following patches for updated sources: * 0001-Disable-Altivec-for-ppc64le.patch.  * 0001-Do-stack-allignment-on-ppc.patch.
* Minor line offset adjustments of other patches to apply cleanly.

OBS-URL: https://build.opensuse.org/request/show/913225
OBS-URL: https://build.opensuse.org/package/show/science/eigen3?expand=0&rev=39
2021-08-22 19:38:49 +00:00

23 lines
1.3 KiB
Diff

From 91025c823045259bad2297850625a08fbf986043 Mon Sep 17 00:00:00 2001
From: Dinar Valeev <dvaleev@suse.com>
Date: Thu, 31 Jul 2014 12:51:13 +0000
Subject: [PATCH] Do stack allignment on ppc
---
Eigen/src/Core/util/Macros.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: eigen-3.4.0/Eigen/src/Core/util/ConfigureVectorization.h
===================================================================
--- eigen-3.4.0.orig/Eigen/src/Core/util/ConfigureVectorization.h
+++ eigen-3.4.0/Eigen/src/Core/util/ConfigureVectorization.h
@@ -103,7 +103,7 @@
// certain common platform (compiler+architecture combinations) to avoid these problems.
// Only static alignment is really problematic (relies on nonstandard compiler extensions),
// try to keep heap alignment even when we have to disable static alignment.
- #if EIGEN_COMP_GNUC && !(EIGEN_ARCH_i386_OR_x86_64 || EIGEN_ARCH_ARM_OR_ARM64 || EIGEN_ARCH_PPC || EIGEN_ARCH_IA64 || EIGEN_ARCH_MIPS)
+ #if EIGEN_COMP_GNUC && !(EIGEN_ARCH_i386_OR_x86_64 || EIGEN_ARCH_ARM_OR_ARM64 || EIGEN_ARCH_IA64 || EIGEN_ARCH_MIPS)
#define EIGEN_GCC_AND_ARCH_DOESNT_WANT_STACK_ALIGNMENT 1
#elif EIGEN_ARCH_ARM_OR_ARM64 && EIGEN_COMP_GNUC_STRICT && EIGEN_GNUC_AT_MOST(4, 6)
// Old versions of GCC on ARM, at least 4.4, were once seen to have buggy static alignment support.