diff --git a/Makefile.system b/Makefile.system index b1f9ba514..cb0cac3e0 100644 --- a/Makefile.system +++ b/Makefile.system @@ -324,14 +324,16 @@ ifeq ($(ARCH), x86) DYNAMIC_CORE = KATMAI COPPERMINE NORTHWOOD PRESCOTT BANIAS \ CORE2 PENRYN DUNNINGTON NEHALEM ATHLON OPTERON OPTERON_SSE3 BARCELONA BOBCAT ATOM NANO ifneq ($(NO_AVX), 1) -DYNAMIC_CORE += SANDYBRIDGE BULLDOZER PILEDRIVER +DYNAMIC_CORE += SANDYBRIDGE +#BULLDOZER PILEDRIVER endif endif ifeq ($(ARCH), x86_64) DYNAMIC_CORE = PRESCOTT CORE2 PENRYN DUNNINGTON NEHALEM OPTERON OPTERON_SSE3 BARCELONA BOBCAT ATOM NANO ifneq ($(NO_AVX), 1) -DYNAMIC_CORE += SANDYBRIDGE BULLDOZER PILEDRIVER +DYNAMIC_CORE += SANDYBRIDGE +#BULLDOZER PILEDRIVER endif endif diff --git a/cpuid.h b/cpuid.h index 2cbbd4539..4311ce95e 100644 --- a/cpuid.h +++ b/cpuid.h @@ -105,8 +105,8 @@ #define CORE_NANO 19 #define CORE_SANDYBRIDGE 20 #define CORE_BOBCAT 21 -#define CORE_BULLDOZER 22 -#define CORE_PILEDRIVER 23 +#define CORE_BULLDOZER CORE_BARCELONA +#define CORE_PILEDRIVER CORE_BARCELONA #define CORE_HASWELL CORE_SANDYBRIDGE #define HAVE_SSE (1 << 0) @@ -198,8 +198,8 @@ typedef struct { #define CPUTYPE_NANO 43 #define CPUTYPE_SANDYBRIDGE 44 #define CPUTYPE_BOBCAT 45 -#define CPUTYPE_BULLDOZER 46 -#define CPUTYPE_PILEDRIVER 47 +#define CPUTYPE_BULLDOZER CPUTYPE_BARCELONA +#define CPUTYPE_PILEDRIVER CPUTYPE_BARCELONA // this define is because BLAS doesn't have haswell specific optimizations yet #define CPUTYPE_HASWELL CPUTYPE_SANDYBRIDGE diff --git a/driver/others/dynamic.c b/driver/others/dynamic.c index 197cc2b2d..bf60efb19 100644 --- a/driver/others/dynamic.c +++ b/driver/others/dynamic.c @@ -63,14 +63,16 @@ extern gotoblas_t gotoblas_BARCELONA; extern gotoblas_t gotoblas_BOBCAT; #ifndef NO_AVX extern gotoblas_t gotoblas_SANDYBRIDGE; -extern gotoblas_t gotoblas_BULLDOZER; -extern gotoblas_t gotoblas_PILEDRIVER; +//extern gotoblas_t gotoblas_BULLDOZER; +//extern gotoblas_t gotoblas_PILEDRIVER; #else //Use NEHALEM kernels for sandy bridge #define gotoblas_SANDYBRIDGE gotoblas_NEHALEM +#endif + #define gotoblas_BULLDOZER gotoblas_BARCELONA #define gotoblas_PILEDRIVER gotoblas_BARCELONA -#endif + //Use sandy bridge kernels for haswell. #define gotoblas_HASWELL gotoblas_SANDYBRIDGE diff --git a/getarch.c b/getarch.c index 3ffda6244..ec9bb75a8 100644 --- a/getarch.c +++ b/getarch.c @@ -354,7 +354,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define CORENAME "OPTERON" #endif -#if defined(FORCE_BARCELONA) || defined(FORCE_SHANGHAI) || defined(FORCE_ISTANBUL) +#if defined(FORCE_BARCELONA) || defined(FORCE_SHANGHAI) || defined(FORCE_ISTANBUL) || defined (FORCE_PILEDRIVER) || defined (FORCE_BULLDOZER) #define FORCE #define FORCE_INTEL #define ARCHITECTURE "X86" @@ -384,7 +384,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define CORENAME "BOBCAT" #endif -#if defined (FORCE_BULLDOZER) +#if 0 #define FORCE #define FORCE_INTEL #define ARCHITECTURE "X86" @@ -400,7 +400,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define CORENAME "BULLDOZER" #endif -#if defined (FORCE_PILEDRIVER) +#if 0 #define FORCE #define FORCE_INTEL #define ARCHITECTURE "X86"