Merge pull request #2170 from pkubaj/patch-1
Fix build on PPC970 for FreeBSD
This commit is contained in:
commit
2f13f04224
|
@ -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
|
||||
|
|
2
param.h
2
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
|
||||
|
||||
#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
|
||||
|
|
Loading…
Reference in New Issue