Skip to content

Commit 6fa89b0

Browse files
authored
Use the two-operand form of DCBT on all PPC970 regardless of OS
There seems to be no advantage to the three-operand form used in the earliest GotoBLAS kernels, and it causes compilation problems on other than the previously special-cased platforms as well
1 parent ccc28c6 commit 6fa89b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common_power.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ static inline int blas_quickdivide(blasint x, blasint y){
241241
#define HAVE_PREFETCH
242242
#endif
243243

244-
#if defined(POWER3) || defined(POWER6) || defined(PPCG4) || defined(CELL) || defined(POWER8) || defined(POWER9) || ( defined(PPC970) && ( defined(OS_DARWIN) || defined(OS_FREEBSD) ) )
244+
#if defined(POWER3) || defined(POWER6) || defined(PPCG4) || defined(CELL) || defined(POWER8) || defined(POWER9) || defined(PPC970)
245245
#define DCBT_ARG 0
246246
#else
247247
#define DCBT_ARG 8

0 commit comments

Comments
 (0)