Skip to content
Permalink
Browse files

Merge pull request #2170 from pkubaj/patch-1

Fix build on PPC970 for FreeBSD
  • Loading branch information...
martin-frbg committed Jun 30, 2019
2 parents 3b76189 + 7c7505a commit 2f13f04224a61018c6b2a8d457886dfb10b2695b
Showing with 2 additions and 2 deletions.
  1. +1 −1 common_power.h
  2. +1 −1 param.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) || defined(POWER9) || ( defined(PPC970) && defined(OS_DARWIN) )
#if defined(POWER3) || defined(POWER6) || defined(PPCG4) || defined(CELL) || defined(POWER8) || defined(POWER9) || ( defined(PPC970) && ( defined(OS_DARWIN) || defined(OS_FREEBSD) ) )
#define DCBT_ARG 0
#else
#define DCBT_ARG 8
@@ -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

#if defined(OS_LINUX) || defined(OS_DARWIN)
#if defined(OS_LINUX) || defined(OS_DARWIN) || defined(OS_FREEBSD)
#if L2_SIZE == 1024976
#define SGEMM_DEFAULT_P 320
#define DGEMM_DEFAULT_P 256

0 comments on commit 2f13f04

Please sign in to comment.
You can’t perform that action at this time.