Enable bulldozer kernels.
This commit is contained in:
parent
143cca4dd5
commit
673e453b3f
|
@ -324,16 +324,14 @@ ifeq ($(ARCH), x86)
|
||||||
DYNAMIC_CORE = KATMAI COPPERMINE NORTHWOOD PRESCOTT BANIAS \
|
DYNAMIC_CORE = KATMAI COPPERMINE NORTHWOOD PRESCOTT BANIAS \
|
||||||
CORE2 PENRYN DUNNINGTON NEHALEM ATHLON OPTERON OPTERON_SSE3 BARCELONA BOBCAT ATOM NANO
|
CORE2 PENRYN DUNNINGTON NEHALEM ATHLON OPTERON OPTERON_SSE3 BARCELONA BOBCAT ATOM NANO
|
||||||
ifneq ($(NO_AVX), 1)
|
ifneq ($(NO_AVX), 1)
|
||||||
DYNAMIC_CORE += SANDYBRIDGE
|
DYNAMIC_CORE += SANDYBRIDGE BULLDOZER PILEDRIVER
|
||||||
#BULLDOZER PILEDRIVER
|
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(ARCH), x86_64)
|
ifeq ($(ARCH), x86_64)
|
||||||
DYNAMIC_CORE = PRESCOTT CORE2 PENRYN DUNNINGTON NEHALEM OPTERON OPTERON_SSE3 BARCELONA BOBCAT ATOM NANO
|
DYNAMIC_CORE = PRESCOTT CORE2 PENRYN DUNNINGTON NEHALEM OPTERON OPTERON_SSE3 BARCELONA BOBCAT ATOM NANO
|
||||||
ifneq ($(NO_AVX), 1)
|
ifneq ($(NO_AVX), 1)
|
||||||
DYNAMIC_CORE += SANDYBRIDGE
|
DYNAMIC_CORE += SANDYBRIDGE BULLDOZER PILEDRIVER
|
||||||
#BULLDOZER PILEDRIVER
|
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
8
cpuid.h
8
cpuid.h
|
@ -105,8 +105,8 @@
|
||||||
#define CORE_NANO 19
|
#define CORE_NANO 19
|
||||||
#define CORE_SANDYBRIDGE 20
|
#define CORE_SANDYBRIDGE 20
|
||||||
#define CORE_BOBCAT 21
|
#define CORE_BOBCAT 21
|
||||||
#define CORE_BULLDOZER CORE_BARCELONA
|
#define CORE_BULLDOZER 22
|
||||||
#define CORE_PILEDRIVER CORE_BARCELONA
|
#define CORE_PILEDRIVER 23
|
||||||
#define CORE_HASWELL CORE_SANDYBRIDGE
|
#define CORE_HASWELL CORE_SANDYBRIDGE
|
||||||
|
|
||||||
#define HAVE_SSE (1 << 0)
|
#define HAVE_SSE (1 << 0)
|
||||||
|
@ -198,8 +198,8 @@ typedef struct {
|
||||||
#define CPUTYPE_NANO 43
|
#define CPUTYPE_NANO 43
|
||||||
#define CPUTYPE_SANDYBRIDGE 44
|
#define CPUTYPE_SANDYBRIDGE 44
|
||||||
#define CPUTYPE_BOBCAT 45
|
#define CPUTYPE_BOBCAT 45
|
||||||
#define CPUTYPE_BULLDOZER CPUTYPE_BARCELONA
|
#define CPUTYPE_BULLDOZER 46
|
||||||
#define CPUTYPE_PILEDRIVER CPUTYPE_BARCELONA
|
#define CPUTYPE_PILEDRIVER 47
|
||||||
// this define is because BLAS doesn't have haswell specific optimizations yet
|
// this define is because BLAS doesn't have haswell specific optimizations yet
|
||||||
#define CPUTYPE_HASWELL CPUTYPE_SANDYBRIDGE
|
#define CPUTYPE_HASWELL CPUTYPE_SANDYBRIDGE
|
||||||
|
|
||||||
|
|
|
@ -63,16 +63,14 @@ extern gotoblas_t gotoblas_BARCELONA;
|
||||||
extern gotoblas_t gotoblas_BOBCAT;
|
extern gotoblas_t gotoblas_BOBCAT;
|
||||||
#ifndef NO_AVX
|
#ifndef NO_AVX
|
||||||
extern gotoblas_t gotoblas_SANDYBRIDGE;
|
extern gotoblas_t gotoblas_SANDYBRIDGE;
|
||||||
//extern gotoblas_t gotoblas_BULLDOZER;
|
extern gotoblas_t gotoblas_BULLDOZER;
|
||||||
//extern gotoblas_t gotoblas_PILEDRIVER;
|
extern gotoblas_t gotoblas_PILEDRIVER;
|
||||||
#else
|
#else
|
||||||
//Use NEHALEM kernels for sandy bridge
|
//Use NEHALEM kernels for sandy bridge
|
||||||
#define gotoblas_SANDYBRIDGE gotoblas_NEHALEM
|
#define gotoblas_SANDYBRIDGE gotoblas_NEHALEM
|
||||||
#endif
|
|
||||||
|
|
||||||
#define gotoblas_BULLDOZER gotoblas_BARCELONA
|
#define gotoblas_BULLDOZER gotoblas_BARCELONA
|
||||||
#define gotoblas_PILEDRIVER gotoblas_BARCELONA
|
#define gotoblas_PILEDRIVER gotoblas_BARCELONA
|
||||||
|
#endif
|
||||||
//Use sandy bridge kernels for haswell.
|
//Use sandy bridge kernels for haswell.
|
||||||
#define gotoblas_HASWELL gotoblas_SANDYBRIDGE
|
#define gotoblas_HASWELL gotoblas_SANDYBRIDGE
|
||||||
|
|
||||||
|
|
|
@ -354,7 +354,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#define CORENAME "OPTERON"
|
#define CORENAME "OPTERON"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(FORCE_BARCELONA) || defined(FORCE_SHANGHAI) || defined(FORCE_ISTANBUL) || defined (FORCE_PILEDRIVER) || defined (FORCE_BULLDOZER)
|
#if defined(FORCE_BARCELONA) || defined(FORCE_SHANGHAI) || defined(FORCE_ISTANBUL)
|
||||||
#define FORCE
|
#define FORCE
|
||||||
#define FORCE_INTEL
|
#define FORCE_INTEL
|
||||||
#define ARCHITECTURE "X86"
|
#define ARCHITECTURE "X86"
|
||||||
|
@ -384,7 +384,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#define CORENAME "BOBCAT"
|
#define CORENAME "BOBCAT"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 0
|
#if defined (FORCE_BULLDOZER)
|
||||||
#define FORCE
|
#define FORCE
|
||||||
#define FORCE_INTEL
|
#define FORCE_INTEL
|
||||||
#define ARCHITECTURE "X86"
|
#define ARCHITECTURE "X86"
|
||||||
|
@ -400,7 +400,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#define CORENAME "BULLDOZER"
|
#define CORENAME "BULLDOZER"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 0
|
#if defined (FORCE_PILEDRIVER)
|
||||||
#define FORCE
|
#define FORCE
|
||||||
#define FORCE_INTEL
|
#define FORCE_INTEL
|
||||||
#define ARCHITECTURE "X86"
|
#define ARCHITECTURE "X86"
|
||||||
|
|
Loading…
Reference in New Issue