Support AMD Piledriver by bulldozer kernels.

This commit is contained in:
Zhang Xianyi
2013-07-06 12:06:43 -03:00
parent 0c4074e10b
commit 886cbaf4e4
30 changed files with 377 additions and 80 deletions

View File

@@ -171,6 +171,11 @@ static __inline int blas_quickdivide(unsigned int x, unsigned int y){
#define MMXSTORE movd
#endif
#if defined(PILEDRIVER) || defined(BULLDOZER)
//Enable some optimazation for barcelona.
#define BARCELONA_OPTIMIZATION
#endif
#if defined(HAVE_3DNOW)
#define EMMS femms
#elif defined(HAVE_MMX)