-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
51 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- ctest.c.orig 2019-03-06 19:25:30.000000000 -0800 | ||
+++ ctest.c 2019-03-06 19:26:06.000000000 -0800 | ||
@@ -113,7 +113,7 @@ | ||
ARCH_X86_64 | ||
#endif | ||
|
||
-#if defined(__powerpc___) || defined(__PPC__) || defined(_POWER) | ||
+#if defined(__powerpc___) || defined(__PPC__) || defined(_POWER) || defined(__POWERPC__) | ||
ARCH_POWER | ||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git common_power.h common_power.h | ||
index e3a1a7ae..68087b07 100644 | ||
--- common_power.h | ||
+++ common_power.h | ||
@@ -241,7 +241,7 @@ static inline int blas_quickdivide(blasint x, blasint y){ | ||
#define HAVE_PREFETCH | ||
#endif | ||
|
||
-#if defined(POWER3) || defined(POWER6) || defined(PPCG4) || defined(CELL) || defined(POWER8) | ||
+#if defined(POWER3) || defined(POWER6) || defined(PPCG4) || defined(CELL) || defined(POWER8) || ( defined(PPC970) && defined(OS_DARWIN) ) | ||
#define DCBT_ARG 0 | ||
#else | ||
#define DCBT_ARG 8 | ||
diff --git param.h param.h | ||
index 3cc400b5..48b7ef38 100644 | ||
--- param.h | ||
+++ param.h | ||
@@ -1999,7 +1999,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
#define ZGEMM_DEFAULT_UNROLL_M 2 | ||
#define ZGEMM_DEFAULT_UNROLL_N 2 | ||
|
||
-#ifdef OS_LINUX | ||
+#if defined(OS_LINUX) || defined(OS_DARWIN) | ||
#if L2_SIZE == 1024976 | ||
#define SGEMM_DEFAULT_P 320 | ||
#define DGEMM_DEFAULT_P 256 |