summaryrefslogtreecommitdiff
path: root/cpuid.h
diff options
context:
space:
mode:
authorZhang Xianyi <traits.zhang@gmail.com>2013-07-06 12:06:43 -0300
committerZhang Xianyi <traits.zhang@gmail.com>2013-07-06 12:06:43 -0300
commit886cbaf4e4a04cb759228538e5bf76108a11a3a4 (patch)
tree312ed0d81ba8db799a5b125f8c71b698a10715d3 /cpuid.h
parent0c4074e10b86345c811a882c589879673348d26a (diff)
downloadopenblas-886cbaf4e4a04cb759228538e5bf76108a11a3a4.tar.gz
openblas-886cbaf4e4a04cb759228538e5bf76108a11a3a4.tar.bz2
openblas-886cbaf4e4a04cb759228538e5bf76108a11a3a4.zip
Support AMD Piledriver by bulldozer kernels.
Diffstat (limited to 'cpuid.h')
-rw-r--r--cpuid.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpuid.h b/cpuid.h
index 030b2f312..2cbbd4539 100644
--- a/cpuid.h
+++ b/cpuid.h
@@ -106,6 +106,7 @@
#define CORE_SANDYBRIDGE 20
#define CORE_BOBCAT 21
#define CORE_BULLDOZER 22
+#define CORE_PILEDRIVER 23
#define CORE_HASWELL CORE_SANDYBRIDGE
#define HAVE_SSE (1 << 0)
@@ -128,6 +129,7 @@
#define HAVE_FASTMOVU (1 << 17)
#define HAVE_AVX (1 << 18)
#define HAVE_FMA4 (1 << 19)
+#define HAVE_FMA3 (1 << 20)
#define CACHE_INFO_L1_I 1
#define CACHE_INFO_L1_D 2
@@ -197,6 +199,7 @@ typedef struct {
#define CPUTYPE_SANDYBRIDGE 44
#define CPUTYPE_BOBCAT 45
#define CPUTYPE_BULLDOZER 46
+#define CPUTYPE_PILEDRIVER 47
// this define is because BLAS doesn't have haswell specific optimizations yet
#define CPUTYPE_HASWELL CPUTYPE_SANDYBRIDGE