eigen3/0001-Disable-Altivec-for-ppc64le.patch

26 lines
622 B
Diff

From e4b0115a362a35a3ac6eacca9fbd7f57e7c02fb4 Mon Sep 17 00:00:00 2001
From: Dinar Valeev <dvaleev@suse.com>
Date: Wed, 30 Jul 2014 17:55:03 +0200
Subject: [PATCH] Disable Altivec for ppc64le
---
Eigen/Core | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Eigen/Core b/Eigen/Core
index 9131cc3..329a10d 100644
--- a/Eigen/Core
+++ b/Eigen/Core
@@ -114,7 +114,7 @@
#endif
#endif
} // end extern "C"
- #elif defined __ALTIVEC__
+ #elif defined __ALTIVEC__ && _CALL_ELF != 2
#define EIGEN_VECTORIZE
#define EIGEN_VECTORIZE_ALTIVEC
#include <altivec.h>
--
1.8.5.2